Re: [PATCH V4 1/2] of: Add generic device tree DMA helpers

2012-09-14 Thread Jon Hunter
Hi Arnd, On 09/14/2012 04:43 AM, Arnd Bergmann wrote: On Thursday 13 September 2012, Jon Hunter wrote: This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2] to add some basic helpers to retrieve a DMA controller device_node and the DMA request/channel information. I think

Re: [PATCH V4 1/2] of: Add generic device tree DMA helpers

2012-09-14 Thread Arnd Bergmann
On Friday 14 September 2012, Jon Hunter wrote: On 09/14/2012 04:43 AM, Arnd Bergmann wrote: + +Client drivers should specify the DMA property using a phandle to the controller +followed by DMA controller specific data. + +Required property: +- dmas: List of one or

Re: [PATCH V4 1/2] of: Add generic device tree DMA helpers

2012-09-14 Thread Jon Hunter
On 09/14/2012 08:32 AM, Arnd Bergmann wrote: On Friday 14 September 2012, Jon Hunter wrote: On 09/14/2012 04:43 AM, Arnd Bergmann wrote: + +Client drivers should specify the DMA property using a phandle to the controller +followed by DMA controller specific data. + +Required property:

Re: [PATCH V4 1/2] of: Add generic device tree DMA helpers

2012-09-14 Thread Stephen Warren
On 09/13/2012 04:00 PM, Jon Hunter wrote: This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2] to add some basic helpers to retrieve a DMA controller device_node and the DMA request/channel information. diff --git a/Documentation/devicetree/bindings/dma/dma.txt

Re: [PATCH V4 1/2] of: Add generic device tree DMA helpers

2012-09-14 Thread Jon Hunter
On 09/14/2012 11:28 AM, Stephen Warren wrote: On 09/13/2012 04:00 PM, Jon Hunter wrote: This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2] to add some basic helpers to retrieve a DMA controller device_node and the DMA request/channel information. diff --git

[PATCH V4 1/2] of: Add generic device tree DMA helpers

2012-09-13 Thread Jon Hunter
This is based upon the work by Benoit Cousson [1] and Nicolas Ferre [2] to add some basic helpers to retrieve a DMA controller device_node and the DMA request/channel information. Aim of DMA helpers - The purpose of device-tree is to describe the capabilites of the hardware. Thinking about DMA