[PATCH] of: Add generic device tree DMA helpers

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Mar 19 09:02:22 EDT 2012


On Sat, Mar 17, 2012 at 10:47:51AM +0000, Grant Likely wrote:

> After implementing both schemes (ie. interrupts+interrupt-names && [*-]gpios)
> I definitely prefer the fixed property name plus a separate names property.
> It is easier to use common code with that scheme, and easier to statically
> check for correctness.

It's not a fantastic experience when using the bindings as the arrays
grow large, though - keeping things matched up isn't much fun especially
if any of the elements in the array are optional.



More information about the linux-arm-kernel mailing list