On Tue, Apr 01, 2014 at 02:45:10PM +0100, Clement Perrochaud wrote:
> Mark Rutland wrote: 
> > s/_/-/ in compatible strings and property names, please. 
> >  [...]
> > As this is an interrupt from the point of view of the device, I would
> > prefer this described as an interrupt (using the standard interrupts
> > property), with the GPIO controller described as an interrupt
> > controller. 
> >  [...]
> > enable-gpios? 
> >  [...]
> > firmware-gpios? 
> 
> Hi Mark,
> 
> Thank you for your help.
> 
> Where can I find documentation describing these naming conventions?

Documentation/devicetree/bindings/gpio/gpio.txt:

        GPIO properties should be named "[<name>-]gpios".

In general, following existing style is preferred, and "enable-gpios" is
already relatively common.

We admittedly have short names like "cs-gpios", but personally I would
prefer "firmware-gpios" to "fw-gpios" for clarity.

Cheers,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to