Re: [PATCH v3 2/2] NFC: pn544_i2c: Add DTS Documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux