Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-09-01 Thread Matt Porter
On Sat, Sep 01, 2012 at 06:32:29AM +0530, Vinod Koul wrote: > On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: > > On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: > > > >> Yes, this was the problem. Since the SPI driver now depends on > > > >> CONFIG_TI_EDMA for basic operation may be

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-09-01 Thread Matt Porter
On Sat, Sep 01, 2012 at 06:32:29AM +0530, Vinod Koul wrote: On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: Yes, this was the problem. Since the SPI driver now depends on CONFIG_TI_EDMA for basic operation may be select

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Vinod Koul
On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: > On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: > > >> Yes, this was the problem. Since the SPI driver now depends on > > >> CONFIG_TI_EDMA for basic operation may be select CONFIG_TI_EDMA in > > >> Kconfig if SPI is enabled? That should

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Vinod Koul
On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: > >> Yes, this was the problem. Since the SPI driver now depends on > >> CONFIG_TI_EDMA for basic operation may be select CONFIG_TI_EDMA in > >> Kconfig if SPI is enabled? That should do until the fallback to PIO > is > >> implemented. > > Then

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Sekhar Nori
On 8/31/2012 10:01 PM, Vinod Koul wrote: > On Fri, 2012-08-31 at 21:32 +0530, Sekhar Nori wrote: >> Hi Matt, >> >> On 8/30/2012 8:13 PM, Matt Porter wrote: >>> On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: >

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Vinod Koul
On Fri, 2012-08-31 at 21:32 +0530, Sekhar Nori wrote: > Hi Matt, > > On 8/30/2012 8:13 PM, Matt Porter wrote: > > On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: > >> Hi Matt, > >> > >> On 8/23/2012 6:39 AM, Matt Porter wrote: > >>> Removes use of the DaVinci EDMA private DMA API and

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Sekhar Nori
Hi Matt, On 8/30/2012 8:13 PM, Matt Porter wrote: > On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: >> Hi Matt, >> >> On 8/23/2012 6:39 AM, Matt Porter wrote: >>> Removes use of the DaVinci EDMA private DMA API and replaces >>> it with use of the DMA engine API. >>> >>>

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Sekhar Nori
Hi Matt, On 8/30/2012 8:13 PM, Matt Porter wrote: On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Vinod Koul
On Fri, 2012-08-31 at 21:32 +0530, Sekhar Nori wrote: Hi Matt, On 8/30/2012 8:13 PM, Matt Porter wrote: On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Sekhar Nori
On 8/31/2012 10:01 PM, Vinod Koul wrote: On Fri, 2012-08-31 at 21:32 +0530, Sekhar Nori wrote: Hi Matt, On 8/30/2012 8:13 PM, Matt Porter wrote: On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Vinod Koul
On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: Yes, this was the problem. Since the SPI driver now depends on CONFIG_TI_EDMA for basic operation may be select CONFIG_TI_EDMA in Kconfig if SPI is enabled? That should do until the fallback to PIO is implemented. Then this should be

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-31 Thread Vinod Koul
On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: Yes, this was the problem. Since the SPI driver now depends on CONFIG_TI_EDMA for basic operation may be select CONFIG_TI_EDMA in Kconfig if SPI is enabled? That should do until the

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Vinod Koul
On Thu, 2012-08-30 at 10:43 -0400, Matt Porter wrote: > On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: > > Hi Matt, > > > > On 8/23/2012 6:39 AM, Matt Porter wrote: > > > Removes use of the DaVinci EDMA private DMA API and replaces > > > it with use of the DMA engine API. > > > > >

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Matt Porter
On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: > Hi Matt, > > On 8/23/2012 6:39 AM, Matt Porter wrote: > > Removes use of the DaVinci EDMA private DMA API and replaces > > it with use of the DMA engine API. > > > > Signed-off-by: Matt Porter > > I tried testing this patch on my

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Sekhar Nori
Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: > Removes use of the DaVinci EDMA private DMA API and replaces > it with use of the DMA engine API. > > Signed-off-by: Matt Porter I tried testing this patch on my OMAP-L138 EVM, but SPI fails to initialize after applying the patch.

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Sekhar Nori
Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter mpor...@ti.com I tried testing this patch on my OMAP-L138 EVM, but SPI fails to initialize after applying the patch.

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Matt Porter
On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter mpor...@ti.com I tried testing this patch on my

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Vinod Koul
On Thu, 2012-08-30 at 10:43 -0400, Matt Porter wrote: On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: Hi Matt, On 8/23/2012 6:39 AM, Matt Porter wrote: Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by:

[PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-22 Thread Matt Porter
Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter --- drivers/spi/spi-davinci.c | 292 - 1 file changed, 130 insertions(+), 162 deletions(-) diff --git

[PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-22 Thread Matt Porter
Removes use of the DaVinci EDMA private DMA API and replaces it with use of the DMA engine API. Signed-off-by: Matt Porter mpor...@ti.com --- drivers/spi/spi-davinci.c | 292 - 1 file changed, 130 insertions(+), 162 deletions(-) diff --git