Re: [PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-22 Thread Grygorii Strashko
On 04/22/2014 05:44 PM, Rob Herring wrote: On Tue, Apr 22, 2014 at 10:09 AM, Grygorii Strashko wrote: Hi Rob, On 04/21/2014 05:58 PM, Rob Herring wrote: On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar wrote: Retrieve DMA configuration from DT and setup platform device's DMA parameters. T

Re: [PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-22 Thread Rob Herring
On Tue, Apr 22, 2014 at 10:09 AM, Grygorii Strashko wrote: > Hi Rob, > > On 04/21/2014 05:58 PM, Rob Herring wrote: >> On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar >> wrote: >>> Retrieve DMA configuration from DT and setup platform device's DMA >>> parameters. The DMA configuration in DT ha

Re: [PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-22 Thread Grygorii Strashko
Hi Rob, On 04/21/2014 05:58 PM, Rob Herring wrote: > On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar > wrote: >> Retrieve DMA configuration from DT and setup platform device's DMA >> parameters. The DMA configuration in DT has to be specified using >> "dma-ranges" and "dma-coherent" properties

Re: [PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-21 Thread Rob Herring
On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar wrote: > Retrieve DMA configuration from DT and setup platform device's DMA > parameters. The DMA configuration in DT has to be specified using > "dma-ranges" and "dma-coherent" properties if supported. > > We setup dma_pfn_offset using "dma-range

[PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-19 Thread Santosh Shilimkar
Retrieve DMA configuration from DT and setup platform device's DMA parameters. The DMA configuration in DT has to be specified using "dma-ranges" and "dma-coherent" properties if supported. We setup dma_pfn_offset using "dma-ranges" and dma_coherent_ops using "dma-coherent" device tree properties.