linux_old1/Documentation/devicetree/bindings/gpio
Alexandre Courbot 2071d0968e Documentation: gpio: guidelines for bindings
Now that ACPI supports named GPIO properties, either through ACPI 5.1 or
the per-driver ACPI GPIO mappings, we can be more narrow about the way
GPIOs should be specified in Device Tree bindings.

This patch updates the GPIO DT bindings documentation to highlight the
following rules for new GPIO bindings:

- All new bindings must have a meaningful name (e.g. the "gpios"
  property must not be used)
- The only suffix allowed is "-gpios", no matter the number of
  descriptors in the property
- GPIOs can only be grouped under the same property when they serve the
  same purpose, a case that should remain exceptional (e.g. bit-banged
  data lines).

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-10-30 16:41:47 +01:00
..
8xxx_gpio.txt dt: binding: reword PowerPC 8xxx GPIO documentation 2013-12-03 00:01:03 -06:00
abilis,tb10x-gpio.txt gpio: add TB10x GPIO driver 2013-10-25 23:42:34 +02:00
cavium-octeon-gpio.txt MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +01:00
cirrus,clps711x-mctrl-gpio.txt gpio: Driver for SYSCON-based GPIOs 2014-03-18 09:28:31 +01:00
fsl-imx-gpio.txt GPIO changes for v3.6: 2012-07-26 13:56:38 -07:00
gpio-74x164.txt gpio: 74x164: dts: Add documentation for the dt binding 2012-09-11 19:21:34 +02:00
gpio-74xx-mmio.txt GPIO: 74xx-mmio: Add DT bindings documentation 2014-10-21 10:48:45 +02:00
gpio-adnp.txt gpio: adnp: dt: Reference generic interrupt binding 2012-09-20 08:54:58 +02:00
gpio-bcm-kona.txt gpio: bcm281xx: Add GPIO driver 2013-09-20 20:26:13 +02:00
gpio-clps711x.txt GPIO: clps711x: Add DT support 2013-06-11 15:44:57 -07:00
gpio-davinci.txt devicetree: bindings: gpio-davinic: fix documentation 2014-03-11 11:20:01 +01:00
gpio-dsp-keystone.txt gpio: syscon: reuse for keystone 2 socs 2014-09-16 14:42:16 -07:00
gpio-fan.txt hwmon: Add devicetree bindings to gpio-fan 2012-09-22 14:40:49 +00:00
gpio-grgpio.txt gpio: grgpio: Add irq support 2013-04-26 08:52:38 +02:00
gpio-lp3943.txt Documentation: Add LP3943 DT bindings and document 2014-01-21 08:27:55 +00:00
gpio-mcp23s08.txt doc: spelling error changes 2014-05-05 15:32:05 +02:00
gpio-mm-lantiq.txt GPIO: MIPS: lantiq: convert gpio-mm-lantiq to OF and of_mm_gpio 2012-05-21 14:31:53 +01:00
gpio-msm.txt gpio: msm: Add device tree and irqdomain support for gpio-msm-v2 2013-06-12 14:50:12 -07:00
gpio-mvebu.txt Documentation: add description of DT binding for the gpio-mvebu driver 2012-09-22 14:51:37 +00:00
gpio-mxs.txt bindings: update imx and mxs #gpio-cells 2012-07-06 19:57:42 +08:00
gpio-nmk.txt pinctrl: pinctrl-nomadik: Append sleepmode property with vendor specific prefixes 2012-07-13 10:14:39 +02:00
gpio-omap.txt ARM: arm-soc device tree changes, part 2 2013-05-07 11:06:17 -07:00
gpio-palmas.txt gpio: palmas: add dt support 2013-07-29 18:14:33 +02:00
gpio-pca953x.txt gpio: pca953x: Add DT binding documentation 2014-08-28 14:19:40 +02:00
gpio-pcf857x.txt gpio: pcf857x: Add OF support 2013-09-23 20:00:01 +02:00
gpio-poweroff.txt Power: gpio-poweroff: Fix documentation and gpio_is_valid 2013-01-06 17:53:00 +00:00
gpio-restart.txt power: Add simple gpio-restart driver 2014-09-26 19:51:15 +02:00
gpio-samsung.txt gpio: samsung: Remove OF support for s3c24xx 2013-06-12 05:22:17 +09:00
gpio-stericsson-coh901.txt pinctrl: coh901: add device tree support 2013-05-31 11:25:45 +02:00
gpio-stmpe.txt gpio: stmpe: Add DT support for stmpe gpio 2012-12-01 17:45:16 +01:00
gpio-stp-xway.txt GPIO: MIPS: lantiq: convert gpio-stp-xway to OF 2012-05-21 14:31:53 +01:00
gpio-twl4030.txt gpio/twl4030: get platform data from device tree 2012-09-07 19:22:27 +02:00
gpio-tz1090-pdc.txt gpio-tz1090-pdc: add TZ1090 PDC gpio driver 2013-07-20 19:03:48 +02:00
gpio-tz1090.txt gpio-tz1090: add TZ1090 gpio driver 2013-07-20 19:00:44 +02:00
gpio-vf610.txt Documentation: dts: add bindings for Vybrid GPIO/PORT module 2014-10-24 14:22:27 +02:00
gpio-xgene.txt Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding 2014-08-28 14:20:45 +02:00
gpio-xilinx.txt DT: Add documentation for gpio-xilinx 2013-06-17 07:48:42 +02:00
gpio-zevio.txt gpio: New driver for LSI ZEVIO SoCs 2014-02-27 10:30:42 +01:00
gpio-zynq.txt devicetree: Add Zynq GPIO devicetree bindings documentation 2014-07-10 11:13:44 +02:00
gpio.txt Documentation: gpio: guidelines for bindings 2014-10-30 16:41:47 +01:00
gpio_atmel.txt arm: at91: at91sam9x5: fix gpio number per bank 2012-10-13 09:09:29 +08:00
gpio_lpc32xx.txt gpio/lpc32xx: Add device tree support 2012-05-18 16:48:36 -06:00
moxa,moxart-gpio.txt gpio: Add MOXA ART GPIO driver 2013-12-03 11:26:08 +01:00
mrvl-gpio.txt gpio: pxa: Documentation: provide example bindings for PXA3xx 2014-08-29 08:20:34 +02:00
nvidia,tegra20-gpio.txt dt: name all Tegra binding docs consistently 2012-06-11 11:48:42 -06:00
pl061-gpio.txt devicetree: Add ARM pl061 gpio controller binding doc 2011-10-05 07:39:56 -05:00
renesas,gpio-rcar.txt gpio: rcar: Add optional functional clock to bindings 2014-04-28 12:35:09 -07:00
snps-dwapb-gpio.txt gpio: dwapb: correct gpio-cells in binding document 2014-03-26 10:31:35 +01:00
sodaville.txt gpio: Add a driver for Sodaville GPIO controller 2012-02-03 16:13:25 -07:00
spear_spics.txt gpio: SPEAr: add spi chipselect control driver 2012-11-18 00:01:27 +01:00