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

Arnd Bergmann arnd at arndb.de
Fri May 4 08:39:39 EDT 2012


On Thursday 03 May 2012, Stephen Warren wrote:
> > +    - #dma-channels: Number of DMA channels supported by the controller.
> > +    - #dma-requests: Number of DMA requests signals supported by the controller.
> 
> I don't see why those properties would be mandatory in device tree. They
> don't appear to be involved in parsing a DMA client's DMA specifier.
> Shouldn't this information be provided at run-time by the DMA controller
> driver. If it supports different HW models with different capabilities,
> then it certainly could represent those values in DT, but I don't think
> this should be required.

Agreed. I would list them as 'optional' though, so that every specific
binding that needs these will have to use the same format.

	Arnd



More information about the linux-arm-kernel mailing list