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

Jassi Brar jaswinder.singh at linaro.org
Thu Jun 14 00:45:49 EDT 2012


On 14 June 2012 04:02, Jon Hunter <jon-hunter at ti.com> wrote:
> On 06/08/2012 07:04 PM, Arnd Bergmann wrote:
>
>> As I said previously, I think just encoding the direction but not
>> the client specific ID (meaning we would have to disambiguate
>> the more complex cases that Stephen mentioned using a dma-names
>> property) would be the best because it keeps the common case simple,
>> but I could live with other things going in there too.
>
> Ok, so you are saying that there are some DMA controllers where there is
> no channel/request ID and only a direction is needed? So an even simpler
> case than what I had imagined.
>
I am curious to know which DMA controllers don't need any client ID ?
unless it is Mem->Mem (for which even specifying direction is
meaningless).
Rather, I think specifying direction is even lesser useful, since
usually the client's ID imply the (bi/uni)direction.



More information about the linux-arm-kernel mailing list