OpenCloudOS-Kernel/Documentation/devicetree/bindings/gpio
Thierry Reding 5e969a401a gpio: Add Avionic Design N-bit GPIO expander support
This commit adds a driver for the Avionic Design N-bit GPIO expander.
The expander provides a variable number of GPIO pins with interrupt
support.

Changes in v2:
- allow building the driver as a module
- assign of_node unconditionally
- use linear mapping IRQ domain
- properly cleanup IRQ domain
- add OF device table and annotate device tables
- emulate rising and falling edge triggers
- increase #gpio-cells to 2
- drop support for !OF
- use IS_ENABLED to conditionalize DEBUG_FS code

Changes in v3:
- make IRQ support runtime configurable (interrupt-controller property)
- drop interrupt-controller and #interrupt-cells from DT binding
- add inline to_adnp() function to wrap container_of() macro
- consistently use adnp as name for struct adnp variables
- remove irq_mask_cur and rename irq_mask to irq_enable
- fix a subtle deadlock in adnp_gpio_direction_output()
- remove dynamic allocations from debugfs code
- rename regs to num_regs to avoid confusion
- annotate non-trivial code with comments
- don't acquire mutex in adnp_gpio_get()
- assume NO_IRQ == 0

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Linus Walleij <linus.walleij@stericsson.com>
Cc: linux-kernel@vger.kernel.org
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-09-18 23:27:25 +02:00
..
8xxx_gpio.txt dt: Move device tree documentation out of powerpc directory 2011-01-31 00:09:01 -07:00
cavium-octeon-gpio.txt MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +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-adnp.txt gpio: Add Avionic Design N-bit GPIO expander support 2012-09-18 23:27:25 +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-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 gpio/omap: Add DT support to GPIO driver 2012-03-05 23:02:53 +01:00
gpio-samsung.txt gpio: samsung: add flags specifier to device-tree binding 2012-07-17 21:00:15 +02: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/twl: Add DT support to gpio-twl4030 driver 2012-03-22 13:05:55 +01:00
gpio.txt gpio/dt: Refine GPIO device tree binding 2011-06-28 15:35:53 -06:00
gpio_atmel.txt ARM: at91/pio: add new PIO3 features 2012-03-01 13:38:50 +01:00
gpio_keys.txt Input: gpio_keys - fix two typos in devicetree documentation 2011-08-02 22:17:31 -07:00
gpio_lpc32xx.txt gpio/lpc32xx: Add device tree support 2012-05-18 16:48:36 -06:00
led.txt dt: Fix incorrect reference in gpio-led documentation 2012-09-11 07:26:45 +02:00
mrvl-gpio.txt ARM: Orion: DT support for IRQ and GPIO Controllers 2012-07-27 16:48:14 +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
sodaville.txt gpio: Add a driver for Sodaville GPIO controller 2012-02-03 16:13:25 -07:00