Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Vinod Koul
On Thu, Feb 09, 2017 at 10:22:38AM +0100, Marek Szyprowski wrote: > Hi Vinod, > > On 2017-02-09 05:11, Vinod Koul wrote: > >On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: > >>On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >>>On 01/25/2017 11:28 AM, Marek Szyprowski wrote: >

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Vinod Koul
On Thu, Feb 09, 2017 at 10:22:38AM +0100, Marek Szyprowski wrote: > Hi Vinod, > > On 2017-02-09 05:11, Vinod Koul wrote: > >On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: > >>On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >>>On 01/25/2017 11:28 AM, Marek Szyprowski wrote: >

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Ulf Hansson
>> >> Yes agreed on that, plus the runtime handling needs to be built in, right >> now the APIs dont work well with it, we disucssed these during the KS and >> this goes without saying, patches are welcome :) > > > Okay, so what is the conclusion? Do you want me to do the whole rework of > dma >

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Ulf Hansson
>> >> Yes agreed on that, plus the runtime handling needs to be built in, right >> now the APIs dont work well with it, we disucssed these during the KS and >> this goes without saying, patches are welcome :) > > > Okay, so what is the conclusion? Do you want me to do the whole rework of > dma >

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Marek Szyprowski
Hi Ulf, On 2017-02-09 10:55, Ulf Hansson wrote: Yes agreed on that, plus the runtime handling needs to be built in, right now the APIs dont work well with it, we disucssed these during the KS and this goes without saying, patches are welcome :) Okay, so what is the conclusion? Do you want me

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Marek Szyprowski
Hi Ulf, On 2017-02-09 10:55, Ulf Hansson wrote: Yes agreed on that, plus the runtime handling needs to be built in, right now the APIs dont work well with it, we disucssed these during the KS and this goes without saying, patches are welcome :) Okay, so what is the conclusion? Do you want me

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Marek Szyprowski
Hi Vinod, On 2017-02-09 05:11, Vinod Koul wrote: On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Marek Szyprowski
Hi Vinod, On 2017-02-09 05:11, Vinod Koul wrote: On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-08 Thread Vinod Koul
On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: > Hi Lars, > > On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > >>Add pointer to slave device to of_dma_xlate to let DMA engine driver > >>to know which slave device is using given

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-08 Thread Vinod Koul
On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: > Hi Lars, > > On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > >>Add pointer to slave device to of_dma_xlate to let DMA engine driver > >>to know which slave device is using given

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-05 Thread Vinod Koul
On Fri, Feb 03, 2017 at 02:01:27PM +0100, Marek Szyprowski wrote: > Hi All, > > On 2017-01-26 15:43, Marek Szyprowski wrote: > >On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >>On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > >>>Add pointer to slave device to of_dma_xlate to let DMA engine

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-05 Thread Vinod Koul
On Fri, Feb 03, 2017 at 02:01:27PM +0100, Marek Szyprowski wrote: > Hi All, > > On 2017-01-26 15:43, Marek Szyprowski wrote: > >On 2017-01-25 14:12, Lars-Peter Clausen wrote: > >>On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > >>>Add pointer to slave device to of_dma_xlate to let DMA engine

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-03 Thread Marek Szyprowski
Hi All, On 2017-01-26 15:43, Marek Szyprowski wrote: On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which slave device is using given DMA channel. This will be later

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-03 Thread Marek Szyprowski
Hi All, On 2017-01-26 15:43, Marek Szyprowski wrote: On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which slave device is using given DMA channel. This will be later

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-01-26 Thread Marek Szyprowski
Hi Lars, On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which slave device is using given DMA channel. This will be later used to implement non-irq-safe runtime PM for

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-01-26 Thread Marek Szyprowski
Hi Lars, On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which slave device is using given DMA channel. This will be later used to implement non-irq-safe runtime PM for

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-01-25 Thread Lars-Peter Clausen
On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > Add pointer to slave device to of_dma_xlate to let DMA engine driver > to know which slave device is using given DMA channel. This will be > later used to implement non-irq-safe runtime PM for DMA engine driver. of_dma_xlate() is used to translate

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-01-25 Thread Lars-Peter Clausen
On 01/25/2017 11:28 AM, Marek Szyprowski wrote: > Add pointer to slave device to of_dma_xlate to let DMA engine driver > to know which slave device is using given DMA channel. This will be > later used to implement non-irq-safe runtime PM for DMA engine driver. of_dma_xlate() is used to translate

[PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-01-25 Thread Marek Szyprowski
Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which slave device is using given DMA channel. This will be later used to implement non-irq-safe runtime PM for DMA engine driver. Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson

[PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-01-25 Thread Marek Szyprowski
Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which slave device is using given DMA channel. This will be later used to implement non-irq-safe runtime PM for DMA engine driver. Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson Acked-by: Arnd Bergmann ---