[PATCH] of: Add generic device tree DMA helpers

Thierry Reding thierry.reding at avionic-design.de
Sun Mar 18 05:22:41 EDT 2012


* Grant Likely wrote:
> On Thu, 15 Mar 2012 11:27:36 +0100, Thierry Reding <thierry.reding at avionic-design.de> wrote:
> > So if we decide to explicitly allow specifying names, then we can always add
> > a pwm-names property (or <name>-pwm-names respectively) to use as label and
> > fallback to the user OF device node name if that property is not present.
> 
> 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.

Okay. Would everyone be happy with "pwms" and "pwm-names"?

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120318/eedcc819/attachment.sig>


More information about the linux-arm-kernel mailing list