linux/Documentation/devicetree/bindings
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
..
arm ARM: arm-soc Marvell Orion device-tree updates 2012-08-02 11:50:24 -07:00
ata ARM: arm-soc Marvell Orion device-tree updates 2012-08-02 11:50:24 -07:00
c6x C6X: devicetree support 2011-10-06 19:47:33 -04:00
clock clk: add highbank clock support 2012-07-11 17:58:47 -07:00
crypto crypto: picoxcell - support for device tree matching 2011-08-10 19:00:26 +08:00
dma arm-soc: device tree conversions, part 2 2012-05-26 12:57:47 -07:00
fb video: mxsfb: add simple device tree probe 2012-07-03 13:22:37 +08:00
gpio gpio: Add Avionic Design N-bit GPIO expander support 2012-09-18 23:27:25 +02:00
hwmon hwmon: (ads1015) Make gain and datarate configurable 2011-03-21 17:59:37 +01:00
i2c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-07-30 11:45:52 -07:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2012-07-26 12:59:53 -07:00
iommu iommu/tegra: smmu: Add device tree support for SMMU 2012-06-25 13:50:43 +02:00
mfd MFD bits for the 3.6 merge window. 2012-07-30 12:41:17 -07:00
mips/cavium MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +01:00
misc misc: at25: Parse dt settings 2012-06-14 17:23:04 -07:00
mmc arm-soc: general cleanups 2012-07-23 16:04:15 -07:00
mtd Merge branch 'v3.5-rc7-fixes' of git://github.com/lunn/linux into fixes 2012-07-25 21:37:09 +02:00
net Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-07-30 11:45:52 -07:00
nvec dt: name all Tegra binding docs consistently 2012-06-11 11:48:42 -06:00
pci
pinctrl Pin control changes for v3.6: 2012-07-24 14:05:46 -07:00
power_supply max17042_battery: Make it possible to instantiate driver from DT 2012-03-26 20:40:51 +04:00
powerpc powerpc: document the FSL MPIC message register binding 2012-03-16 16:15:28 -05:00
pwm pwm: add lpc32xx PWM support 2012-07-23 13:24:05 +02:00
regulator regulator: tps6586x: add support for input supply 2012-07-13 15:21:18 +01:00
rtc arm-soc: timer updates 2012-07-23 16:21:23 -07:00
serial MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +01:00
serio
sound dt: name all Tegra binding docs consistently 2012-06-11 11:48:42 -06:00
spi spi: Updates for 3.6 2012-07-27 16:45:04 +02:00
staging/iio/adc iio: Add device tree support to LPC32xx ADC 2012-04-24 11:04:07 -07:00
thermal drivers/thermal/spear_thermal.c: add Device Tree probing capability 2012-06-02 01:49:38 -04:00
tty/serial TTY/Serial patches for 3.6-rc1 2012-07-27 12:52:03 -07:00
usb USB patches for 3.6-rc1 2012-07-26 10:23:47 -07:00
video/backlight pwm-backlight: Add rudimentary device tree support 2012-07-23 13:23:52 +02:00
virtio virtio: Add platform bus driver for memory mapped virtio device 2011-11-02 11:41:01 +10:30
watchdog ARM: arm-soc Marvell Orion device-tree updates 2012-08-02 11:50:24 -07:00
x86 x86: dt: Correct local apic documentation in device tree bindings 2011-02-28 09:58:06 +01:00
eeprom.txt
marvell.txt
open-pic.txt powerpc: Document the Open PIC device tree binding 2011-03-21 11:00:52 +11:00
resource-names.txt of/irq: Add interrupts-names property to name an irq resource 2012-01-04 00:33:15 -07:00
vendor-prefixes.txt of: Add Avionic Design vendor prefix 2012-06-13 13:34:39 -05:00
xilinx.txt