Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-18 Thread Sekhar Nori
On Monday 17 March 2014 07:35 PM, Linus Walleij wrote:
 On Mon, Mar 17, 2014 at 2:29 PM, Sekhar Nori nsek...@ti.com wrote:
 
 One thing to note is that this driver is used by keystone too and all
 its users are DT-only. Although I do not see any in-kernel DT GPIO users
 even there.

 I can confirm the patch does not break my gpiolib based test module
 (test with and without DT), but then it did not have an issue even before.
 
 Is that a Tested-by tag? :-)

Yes.

Tested-by: Sekhar Nori nsek...@ti.com

 
 If you're also convinced that fix is safe I'll push it as a fix to v3.14-rcN
 if for nothing else so for getting Mr. Holler to stop poking me in the
 chest.

It is safe - at the least it does not break anything that is already
working. I guess the decision to put it into -rc depends on whether you
consider out of tree dtbs to be a valid usecase for the kernel.

Thanks,
Sekhar
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-18 Thread Alexander Holler

Am 18.03.2014 09:37, schrieb Sekhar Nori:


It is safe - at the least it does not break anything that is already
working. I guess the decision to put it into -rc depends on whether you
consider out of tree dtbs to be a valid usecase for the kernel.


That's all DT is about, getting rid of the necessity for in-tree 
hw-descriptions. ;)


But I don't need any rush here, I'm just unable to understand why the 
-rc phase isn't used for bug fixing as I believe that's what this phase 
is for.


Most people are unable to track the various -next trees, therefor many 
failures only come up when stuff reaches mainline where it might be 
tested by some more people. And if all bugs found in the -rc phase are 
fixed in -next only, the -rc phase would be useless.


And it just happened to me too often, that even silly bugfixes (like 
oneliners) needed between 5 and 9 months to reach a stable kernel and 
thus users.


Regards,

Alexander Holler
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-18 Thread Sekhar Nori
Hi Alexander,

On Tuesday 18 March 2014 03:15 PM, Alexander Holler wrote:
 Am 18.03.2014 09:37, schrieb Sekhar Nori:
 
 It is safe - at the least it does not break anything that is already
 working. I guess the decision to put it into -rc depends on whether you
 consider out of tree dtbs to be a valid usecase for the kernel.
 
 That's all DT is about, getting rid of the necessity for in-tree
 hw-descriptions. ;)
 
 But I don't need any rush here, I'm just unable to understand why the
 -rc phase isn't used for bug fixing as I believe that's what this phase
 is for.

The push back you are seeing is because this is pretty late in -rc
cycle. If this push back was not there the bug fix cycle would probably
never close.

In all probability, if this was -rc2 or even -rc3 there would not be so
much discussion.

Thanks,
Sekhar
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


[PATCH 1/3] spi: remove obsolete spi-ti-ssp driver

2014-03-18 Thread Arnd Bergmann
The tnetv107x platform is getting removed, so this driver
will not be needed any more.

Signed-off-by: Arnd Bergmann a...@arndb.de
Acked-by: Sekhar Nori nsek...@ti.com
Acked-by: Kevin Hilman khil...@linaro.org
Cc: Mark Brown broo...@kernel.org
Cc: linux-...@vger.kernel.org
---
 drivers/spi/Kconfig  |   7 -
 drivers/spi/Makefile |   1 -
 drivers/spi/spi-ti-ssp.c | 378 ---
 3 files changed, 386 deletions(-)
 delete mode 100644 drivers/spi/spi-ti-ssp.c

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 581ee2a..b243f2f 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -478,13 +478,6 @@ config SPI_TEGRA20_SLINK
help
  SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.
 
-config SPI_TI_SSP
-   tristate TI Sequencer Serial Port - SPI Support
-   depends on MFD_TI_SSP
-   help
- This selects an SPI master implementation using a TI sequencer
- serial port.
-
 config SPI_TOPCLIFF_PCH
tristate Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI
depends on PCI
diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
index 95af48d..7da53af 100644
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -73,7 +73,6 @@ obj-$(CONFIG_SPI_SIRF)+= spi-sirf.o
 obj-$(CONFIG_SPI_TEGRA114) += spi-tegra114.o
 obj-$(CONFIG_SPI_TEGRA20_SFLASH)   += spi-tegra20-sflash.o
 obj-$(CONFIG_SPI_TEGRA20_SLINK)+= spi-tegra20-slink.o
-obj-$(CONFIG_SPI_TI_SSP)   += spi-ti-ssp.o
 obj-$(CONFIG_SPI_TLE62X0)  += spi-tle62x0.o
 obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi-topcliff-pch.o
 obj-$(CONFIG_SPI_TXX9) += spi-txx9.o
diff --git a/drivers/spi/spi-ti-ssp.c b/drivers/spi/spi-ti-ssp.c
deleted file mode 100644
index 7d20e12..000
--- a/drivers/spi/spi-ti-ssp.c
+++ /dev/null
@@ -1,378 +0,0 @@
-/*
- * Sequencer Serial Port (SSP) based SPI master driver
- *
- * Copyright (C) 2010 Texas Instruments Inc
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
-#include linux/kernel.h
-#include linux/err.h
-#include linux/completion.h
-#include linux/delay.h
-#include linux/module.h
-#include linux/platform_device.h
-#include linux/spi/spi.h
-#include linux/mfd/ti_ssp.h
-
-#define MODE_BITS  (SPI_CPHA | SPI_CPOL | SPI_CS_HIGH)
-
-struct ti_ssp_spi {
-   struct spi_master   *master;
-   struct device   *dev;
-   spinlock_t  lock;
-   struct list_headmsg_queue;
-   struct completion   complete;
-   boolshutdown;
-   struct workqueue_struct *workqueue;
-   struct work_struct  work;
-   u8  mode, bpw;
-   int cs_active;
-   u32 pc_en, pc_dis, pc_wr, pc_rd;
-   void(*select)(int cs);
-};
-
-static u32 ti_ssp_spi_rx(struct ti_ssp_spi *hw)
-{
-   u32 ret;
-
-   ti_ssp_run(hw-dev, hw-pc_rd, 0, ret);
-   return ret;
-}
-
-static void ti_ssp_spi_tx(struct ti_ssp_spi *hw, u32 data)
-{
-   ti_ssp_run(hw-dev, hw-pc_wr, data  (32 - hw-bpw), NULL);
-}
-
-static int ti_ssp_spi_txrx(struct ti_ssp_spi *hw, struct spi_message *msg,
-  struct spi_transfer *t)
-{
-   int count;
-
-   if (hw-bpw = 8) {
-   u8  *rx = t-rx_buf;
-   const u8*tx = t-tx_buf;
-
-   for (count = 0; count  t-len; count += 1) {
-   if (t-tx_buf)
-   ti_ssp_spi_tx(hw, *tx++);
-   if (t-rx_buf)
-   *rx++ = ti_ssp_spi_rx(hw);
-   }
-   } else if (hw-bpw = 16) {
-   u16 *rx = t-rx_buf;
-   const u16   *tx = t-tx_buf;
-
-   for (count = 0; count  t-len; count += 2) {
-   if (t-tx_buf)
-   ti_ssp_spi_tx(hw, *tx++);
-   if (t-rx_buf)
-   *rx++ = ti_ssp_spi_rx(hw);
-   }
-   } else {
-   u32 *rx = t-rx_buf;
-   

[PATCH 2/3] mfd: remove obsolete ti-ssp driver

2014-03-18 Thread Arnd Bergmann
The tnetv107x platform is getting removed, so this driver
is not needed any more.

Signed-off-by: Arnd Bergmann a...@arndb.de
Acked-by: Sekhar Nori nsek...@ti.com
Acked-by: Kevin Hilman khil...@linaro.org
Cc: Samuel Ortiz sa...@linux.intel.com
Cc: Lee Jones lee.jo...@linaro.org
---
 drivers/mfd/Kconfig  |  11 --
 drivers/mfd/Makefile |   1 -
 drivers/mfd/ti-ssp.c | 465 ---
 3 files changed, 477 deletions(-)
 delete mode 100644 drivers/mfd/ti-ssp.c

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 49bb445..e0f61e3 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -774,17 +774,6 @@ config MFD_PALMAS
  If you say yes here you get support for the Palmas
  series of PMIC chips from Texas Instruments.
 
-config MFD_TI_SSP
-   tristate TI Sequencer Serial Port support
-   depends on ARCH_DAVINCI_TNETV107X
-   select MFD_CORE
-   ---help---
- Say Y here if you want support for the Sequencer Serial Port
- in a Texas Instruments TNETV107X SoC.
-
- To compile this driver as a module, choose M here: the
- module will be called ti-ssp.
-
 config TPS6105X
tristate TI TPS61050/61052 Boost Converters
depends on I2C
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 5aea5ef..40e2a6d 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -21,7 +21,6 @@ obj-$(CONFIG_HTC_I2CPLD)  += htc-i2cpld.o
 
 obj-$(CONFIG_MFD_DAVINCI_VOICECODEC)   += davinci_voicecodec.o
 obj-$(CONFIG_MFD_DM355EVM_MSP) += dm355evm_msp.o
-obj-$(CONFIG_MFD_TI_SSP)   += ti-ssp.o
 obj-$(CONFIG_MFD_TI_AM335X_TSCADC) += ti_am335x_tscadc.o
 
 obj-$(CONFIG_MFD_STA2X11)  += sta2x11-mfd.o
diff --git a/drivers/mfd/ti-ssp.c b/drivers/mfd/ti-ssp.c
deleted file mode 100644
index a542457..000
--- a/drivers/mfd/ti-ssp.c
+++ /dev/null
@@ -1,465 +0,0 @@
-/*
- * Sequencer Serial Port (SSP) driver for Texas Instruments' SoCs
- *
- * Copyright (C) 2010 Texas Instruments Inc
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- */
-
-#include linux/errno.h
-#include linux/kernel.h
-#include linux/module.h
-#include linux/slab.h
-#include linux/err.h
-#include linux/init.h
-#include linux/wait.h
-#include linux/clk.h
-#include linux/interrupt.h
-#include linux/device.h
-#include linux/spinlock.h
-#include linux/platform_device.h
-#include linux/delay.h
-#include linux/io.h
-#include linux/sched.h
-#include linux/mfd/core.h
-#include linux/mfd/ti_ssp.h
-
-/* Register Offsets */
-#define REG_REV0x00
-#define REG_IOSEL_10x04
-#define REG_IOSEL_20x08
-#define REG_PREDIV 0x0c
-#define REG_INTR_ST0x10
-#define REG_INTR_EN0x14
-#define REG_TEST_CTRL  0x18
-
-/* Per port registers */
-#define PORT_CFG_2 0x00
-#define PORT_ADDR  0x04
-#define PORT_DATA  0x08
-#define PORT_CFG_1 0x0c
-#define PORT_STATE 0x10
-
-#define SSP_PORT_CONFIG_MASK   (SSP_EARLY_DIN | SSP_DELAY_DOUT)
-#define SSP_PORT_CLKRATE_MASK  0x0f
-
-#define SSP_SEQRAM_WR_EN   BIT(4)
-#define SSP_SEQRAM_RD_EN   BIT(5)
-#define SSP_START  BIT(15)
-#define SSP_BUSY   BIT(10)
-#define SSP_PORT_ASL   BIT(7)
-#define SSP_PORT_CFO1  BIT(6)
-
-#define SSP_PORT_SEQRAM_SIZE   32
-
-static const int ssp_port_base[]   = {0x040, 0x080};
-static const int ssp_port_seqram[] = {0x100, 0x180};
-
-struct ti_ssp {
-   struct resource *res;
-   struct device   *dev;
-   void __iomem*regs;
-   spinlock_t  lock;
-   struct clk  *clk;
-   int irq;
-   wait_queue_head_t   wqh;
-
-   /*
-* Some of the iosel2 register bits always read-back as 0, we need to
-* remember these values so that we don't clobber previously set
-* values.
-*/
-   u32 iosel2;
-};
-
-static inline struct ti_ssp *dev_to_ssp(struct device *dev)
-{
-   return dev_get_drvdata(dev-parent);
-}
-
-static inline int dev_to_port(struct device *dev)
-{
-   return to_platform_device(dev)-id;
-}
-
-/* Register Access Helpers, rmw() functions need to run locked */
-static inline u32 ssp_read(struct ti_ssp *ssp, int reg)
-{
-   return __raw_readl(ssp-regs + 

[PATCH 0/3] Remove obsolete tnetv107x drivers

2014-03-18 Thread Arnd Bergmann
I have applied the platform removal patch with the Ack
from Kevin and Sekhar. Please apply these other patches
through the input/mfd/spi trees.

Arnd Bergmann (3):
  spi: remove obsolete spi-ti-ssp driver
  mfd: remove obsolete ti-ssp driver
  input: remove obsolete tnetv107x drivers

 drivers/input/keyboard/Kconfig|  10 -
 drivers/input/keyboard/Makefile   |   1 -
 drivers/input/keyboard/tnetv107x-keypad.c | 329 -
 drivers/input/touchscreen/Kconfig |   9 -
 drivers/input/touchscreen/Makefile|   1 -
 drivers/input/touchscreen/tnetv107x-ts.c  | 384 
 drivers/mfd/Kconfig   |  11 -
 drivers/mfd/Makefile  |   1 -
 drivers/mfd/ti-ssp.c  | 465 --
 drivers/spi/Kconfig   |   7 -
 drivers/spi/Makefile  |   1 -
 drivers/spi/spi-ti-ssp.c  | 378 
 12 files changed, 1597 deletions(-)
 delete mode 100644 drivers/input/keyboard/tnetv107x-keypad.c
 delete mode 100644 drivers/input/touchscreen/tnetv107x-ts.c
 delete mode 100644 drivers/mfd/ti-ssp.c
 delete mode 100644 drivers/spi/spi-ti-ssp.c

Cc: Mark Brown broo...@kernel.org
Cc: linux-...@vger.kernel.org
Cc: Samuel Ortiz sa...@linux.intel.com
Cc: Lee Jones lee.jo...@linaro.org
Cc: Dmitry Torokhov dmitry.torok...@gmail.com
Cc: linux-in...@vger.kernel.org

-- 
1.8.3.2

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


[PATCH 3/3] input: remove obsolete tnetv107x drivers

2014-03-18 Thread Arnd Bergmann
The tnetv107x platform is getting removed, so the touchscreen
and keypad drivers for this platform will no longer be needed
either.

Signed-off-by: Arnd Bergmann a...@arndb.de
Acked-by: Sekhar Nori nsek...@ti.com
Acked-by: Kevin Hilman khil...@linaro.org
Cc: Dmitry Torokhov dmitry.torok...@gmail.com
Cc: linux-in...@vger.kernel.org
---
 drivers/input/keyboard/Kconfig|  10 -
 drivers/input/keyboard/Makefile   |   1 -
 drivers/input/keyboard/tnetv107x-keypad.c | 329 -
 drivers/input/touchscreen/Kconfig |   9 -
 drivers/input/touchscreen/Makefile|   1 -
 drivers/input/touchscreen/tnetv107x-ts.c  | 384 --
 6 files changed, 734 deletions(-)
 delete mode 100644 drivers/input/keyboard/tnetv107x-keypad.c
 delete mode 100644 drivers/input/touchscreen/tnetv107x-ts.c

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index a673c9f..935dcaf 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -595,16 +595,6 @@ config KEYBOARD_TC3589X
  To compile this driver as a module, choose M here: the
  module will be called tc3589x-keypad.
 
-config KEYBOARD_TNETV107X
-   tristate TI TNETV107X keypad support
-   depends on ARCH_DAVINCI_TNETV107X
-   select INPUT_MATRIXKMAP
-   help
- Say Y here if you want to use the TNETV107X keypad.
-
- To compile this driver as a module, choose M here: the
- module will be called tnetv107x-keypad.
-
 config KEYBOARD_TWL4030
tristate TI TWL4030/TWL5030/TPS659x0 keypad support
depends on TWL4030_CORE
diff --git a/drivers/input/keyboard/Makefile b/drivers/input/keyboard/Makefile
index a699b61..81014d9 100644
--- a/drivers/input/keyboard/Makefile
+++ b/drivers/input/keyboard/Makefile
@@ -53,7 +53,6 @@ obj-$(CONFIG_KEYBOARD_STOWAWAY)   += stowaway.o
 obj-$(CONFIG_KEYBOARD_SUNKBD)  += sunkbd.o
 obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o
 obj-$(CONFIG_KEYBOARD_TEGRA)   += tegra-kbc.o
-obj-$(CONFIG_KEYBOARD_TNETV107X)   += tnetv107x-keypad.o
 obj-$(CONFIG_KEYBOARD_TWL4030) += twl4030_keypad.o
 obj-$(CONFIG_KEYBOARD_XTKBD)   += xtkbd.o
 obj-$(CONFIG_KEYBOARD_W90P910) += w90p910_keypad.o
diff --git a/drivers/input/keyboard/tnetv107x-keypad.c 
b/drivers/input/keyboard/tnetv107x-keypad.c
deleted file mode 100644
index 086511c..000
--- a/drivers/input/keyboard/tnetv107x-keypad.c
+++ /dev/null
@@ -1,329 +0,0 @@
-/*
- * Texas Instruments TNETV107X Keypad Driver
- *
- * Copyright (C) 2010 Texas Instruments
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation version 2.
- *
- * This program is distributed as is WITHOUT ANY WARRANTY of any
- * kind, whether express or implied; without even the implied warranty
- * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include linux/kernel.h
-#include linux/err.h
-#include linux/errno.h
-#include linux/input.h
-#include linux/platform_device.h
-#include linux/interrupt.h
-#include linux/slab.h
-#include linux/delay.h
-#include linux/io.h
-#include linux/clk.h
-#include linux/input/matrix_keypad.h
-#include linux/module.h
-
-#define BITS(x)(BIT(x) - 1)
-
-#define KEYPAD_ROWS9
-#define KEYPAD_COLS9
-
-#define DEBOUNCE_MIN   0x400ul
-#define DEBOUNCE_MAX   0x3ffful
-
-struct keypad_regs {
-   u32 rev;
-   u32 mode;
-   u32 mask;
-   u32 pol;
-   u32 dclock;
-   u32 rclock;
-   u32 stable_cnt;
-   u32 in_en;
-   u32 out;
-   u32 out_en;
-   u32 in;
-   u32 lock;
-   u32 pres[3];
-};
-
-#define keypad_read(kp, reg)   __raw_readl((kp)-regs-reg)
-#define keypad_write(kp, reg, val) __raw_writel(val, (kp)-regs-reg)
-
-struct keypad_data {
-   struct input_dev*input_dev;
-   struct resource *res;
-   struct keypad_regs __iomem  *regs;
-   struct clk  *clk;
-   struct device   *dev;
-   spinlock_t  lock;
-   int irq_press;
-   int irq_release;
-   int rows, cols, row_shift;
-   int debounce_ms, active_low;
-   u32 prev_keys[3];
-   unsigned short  keycodes[];
-};
-
-static irqreturn_t keypad_irq(int irq, void *data)
-{
-   struct keypad_data *kp = data;
-   int i, bit, val, row, col, code;
-   unsigned long flags;
-   u32 curr_keys[3];
-   u32 change;
-
-   spin_lock_irqsave(kp-lock, flags);
-
- 

Re: [PATCH] dma: edma: fix incorrect SG list handling

2014-03-18 Thread Vinod Koul
On Mon, Mar 17, 2014 at 09:14:14AM -0400, Jon Ringle wrote:
 On Mon, 17 Mar 2014, Sekhar Nori wrote:
 
  Hi Jon,
  
  On Monday 17 March 2014 06:28 PM, Jon Ringle wrote:
   
   On Mon, 17 Mar 2014, Sekhar Nori wrote:
   
   The code to handle any length SG lists calls edma_resume()
   even before edma_start() is called. This is incorrect
   because edma_resume() enables edma events on the channel
   after which CPU (in edma_start) cannot clear posted
   events by writing to ECR (per the EDMA user's guide).
  
   Because of this EDMA transfers fail to start if due
   to some reason there is a pending EDMA event registered
   even before EDMA transfers are started. This can happen if
   an EDMA event is a byproduct of device initialization.
  
   Fix this by calling edma_resume() only if it is not the
   first batch of MAX_NR_SG elements.
  
   Without this patch, MMC/SD fails to function on DA850 EVM
   with DMA. The behaviour is triggered by specific IP and
   this can explain why the issue was not reported before
   (example with MMC/SD on AM335x).
  
   Tested on DA850 EVM and AM335x EVM-SK using MMC/SD card.
  
   Cc: sta...@vger.kernel.org # v3.12.x+
   Cc: Joel Fernandes jo...@ti.com
   Reported-by: Jon Ringle jrin...@gridpoint.com
   Signed-off-by: Sekhar Nori nsek...@ti.com
   ---
   Jon, can you please confirm this fixes the issue you
   reported?
   
   The patch does not apply on linux-3.12 due to changes to the 3 context 
   lines at the start of the hunk.
   
   But, I manually fixed up the code and it does fix the issue  on our 
   AM1808 
   board.
  
  Thanks for the testing. The patch is meant for latest mainline but based
  on what you said, a manual backport to v3.12-stable will be required.
  
  Can you please reply with a formal Tested-by: ?
 
 Tested-by: Jon Ringle jrin...@gridpoint.com
where is this patch, somehow am not able to find in my inbox or archives...

-- 
~Vinod
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH 1/3] spi: remove obsolete spi-ti-ssp driver

2014-03-18 Thread Mark Brown
On Tue, Mar 18, 2014 at 03:55:59PM +0100, Arnd Bergmann wrote:
 The tnetv107x platform is getting removed, so this driver
 will not be needed any more.

Applied, thanks.


signature.asc
Description: Digital signature
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH] dma: edma: fix incorrect SG list handling

2014-03-18 Thread Joel Fernandes
On 03/18/2014 10:28 AM, Vinod Koul wrote:
 On Mon, Mar 17, 2014 at 09:14:14AM -0400, Jon Ringle wrote:
 On Mon, 17 Mar 2014, Sekhar Nori wrote:

 Hi Jon,

 On Monday 17 March 2014 06:28 PM, Jon Ringle wrote:

 On Mon, 17 Mar 2014, Sekhar Nori wrote:

 The code to handle any length SG lists calls edma_resume()
 even before edma_start() is called. This is incorrect
 because edma_resume() enables edma events on the channel
 after which CPU (in edma_start) cannot clear posted
 events by writing to ECR (per the EDMA user's guide).

 Because of this EDMA transfers fail to start if due
 to some reason there is a pending EDMA event registered
 even before EDMA transfers are started. This can happen if
 an EDMA event is a byproduct of device initialization.

 Fix this by calling edma_resume() only if it is not the
 first batch of MAX_NR_SG elements.

 Without this patch, MMC/SD fails to function on DA850 EVM
 with DMA. The behaviour is triggered by specific IP and
 this can explain why the issue was not reported before
 (example with MMC/SD on AM335x).

 Tested on DA850 EVM and AM335x EVM-SK using MMC/SD card.

 Cc: sta...@vger.kernel.org # v3.12.x+
 Cc: Joel Fernandes jo...@ti.com
 Reported-by: Jon Ringle jrin...@gridpoint.com
 Signed-off-by: Sekhar Nori nsek...@ti.com
 ---
 Jon, can you please confirm this fixes the issue you
 reported?

 The patch does not apply on linux-3.12 due to changes to the 3 context 
 lines at the start of the hunk.

 But, I manually fixed up the code and it does fix the issue  on our AM1808 
 board.

 Thanks for the testing. The patch is meant for latest mainline but based
 on what you said, a manual backport to v3.12-stable will be required.

 Can you please reply with a formal Tested-by: ?

 Tested-by: Jon Ringle jrin...@gridpoint.com
 where is this patch, somehow am not able to find in my inbox or archives...
 

I found it archived here:
http://comments.gmane.org/gmane.linux.davinci/28569

Patch doesn't breaking anything for  MAX_NR_SG list size on AM335x, so
it looks good.

Acked-by: Joel Fernandes jo...@ti.com

Regards,
-Joel
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH 2/3] mfd: remove obsolete ti-ssp driver

2014-03-18 Thread Lee Jones
 The tnetv107x platform is getting removed, so this driver
 is not needed any more.
 
 Signed-off-by: Arnd Bergmann a...@arndb.de
 Acked-by: Sekhar Nori nsek...@ti.com
 Acked-by: Kevin Hilman khil...@linaro.org
 Cc: Samuel Ortiz sa...@linux.intel.com
 Cc: Lee Jones lee.jo...@linaro.org
 ---
  drivers/mfd/Kconfig  |  11 --
  drivers/mfd/Makefile |   1 -
  drivers/mfd/ti-ssp.c | 465 
 ---
  3 files changed, 477 deletions(-)
  delete mode 100644 drivers/mfd/ti-ssp.c

Re-applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH] dma: edma: fix incorrect SG list handling

2014-03-18 Thread Alexander Holler

Am 17.03.2014 14:14, schrieb Jon Ringle:

On Mon, 17 Mar 2014, Sekhar Nori wrote:

Can you please reply with a formal Tested-by: ?


Tested-by: Jon Ringle jrin...@gridpoint.com


Finally working mmc on davinci (didn't work without DMA here too).

Tested-by: Alexander Holler hol...@ahsoftware.de

Regards,

Alexander Holler
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source