linux/Documentation/devicetree/bindings
Lars Poeschel 4e47f91bf7 gpio: mcp23s08: Add irq functionality for i2c chips
This adds interrupt functionality for i2c chips to the driver.
They can act as a interrupt-controller and generate interrupts, if
the inputs change.
This is tested with a mcp23017 chip on an arm based platform.

v3:
- be a bit more clear that the irq functionality is also available
  on spi versions of the chips, but the linux driver does not support
  this yet

v2:
- some more word about irq-mirror property in binding doc
- use of_read_bool instead of of_find_property for
  "interrupt-contrller" and "irq-mirror"
- cache the "interrupt-controller" for remove function
- do set the irq-mirror bit only if device is marked as
  interrupt-controller
- do create the irq mapping and setup of irq_desc of all possible
  interrupts in probe path instead of in gpio_to_irq
- mark gpios as in use as interrupts in irq in irq_startup and
  unlock it in irq_shutdown
- rename virq to child_irq
- remove dev argument from mcp23s08_irq_setup function
- move gpiochip_add before mcp23s08_irq_setup in probe path

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2014-01-17 15:30:14 +01:00
..
arc ARC: Add documentation on DT binding for ARC700 PMU 2013-11-12 09:45:56 +05:30
arm hwmon: ntc_thermistor: Fix typo (pullup-uV -> pullup-uv) 2013-12-02 23:40:42 -06:00
ata sata, highbank: send extra clock cycles in SGPIO patterns 2013-08-14 16:43:30 -04:00
bus This is a patch series that updates imx-weim bus driver to have it 2013-08-23 11:37:18 -07:00
c6x Documentation/devicetree/bindings/c6x/ fix a typo 2013-08-20 12:41:25 +02:00
clock clk: exynos: Fix typos in DT bindings documentation 2013-12-02 23:36:50 -06:00
cpufreq
crypto doc: devicetree: Add bindings documentation for omap-des driver 2013-11-15 07:38:14 -08:00
dma dma: atmel-dma: correct typo in the device tree bindings documentation 2013-10-20 18:47:43 +05:30
drm/tilcdc
extcon extcon: palmas: Option to disable ID/VBUS detection based on platform 2013-08-05 08:53:34 +09:00
fb
gpio gpio: mcp23s08: Add irq functionality for i2c chips 2014-01-17 15:30:14 +01:00
gpu The common clk framework changes for 3.12 are dominated by clock driver 2013-09-09 15:49:04 -07:00
hid HID: i2c-hid: add DT bindings 2013-07-31 12:10:31 +02:00
hwmon Documentation: dt: hwmon: Add OF document for LM90 2013-11-15 10:40:39 +01:00
hwrng ARM: dts: AM33xx: Add RNG node 2013-10-29 13:58:51 -07:00
i2c Merge tag 'omap-for-v3.13/more-fixes-for-merge-window-take2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes 2013-11-25 13:34:49 -08:00
iio DT: Add documentation for cm36651 proximity/light sensor 2013-10-17 23:40:27 +01:00
input Input: ti_am335x_tsc - fix spelling mistake in TSC/ADC DT binding 2013-11-11 00:01:45 -08:00
interrupt-controller DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
iommu
leds leds: lp55xx: handle enable pin in driver 2013-10-25 10:13:25 -07:00
lpddr2
media [media] media: st-rc: Add ST remote control driver 2013-10-31 08:20:08 -02:00
memory-controllers
metag irq-imgpdc: add ImgTec PDC irqchip driver 2013-08-21 14:17:56 +01:00
mfd Documentation: mfd: Update s2mps11.txt 2013-11-11 11:22:22 +00:00
mips
misc ARM: sunxi: Initial support for Allwinner's Security ID fuses 2013-09-26 13:47:36 -07:00
mmc mmc: omap: Fix I2C dependency and make driver usable with device tree 2013-11-26 15:51:16 -08:00
mtd mtd: nand: omap: combine different flavours of 1-bit hamming ecc schemes 2013-11-06 23:33:07 -08:00
net Documentation: net: fsl-fec.txt: Add phy-supply entry 2013-12-02 23:35:35 -06:00
nvec
pci PCI changes for the v3.13 merge window: 2013-11-14 14:02:00 +09:00
phy phy: Add driver for Exynos DP PHY 2013-10-16 13:48:08 -07:00
pinctrl Main pin control pull request for the v3.13 cycle: 2013-11-12 15:40:03 +09:00
power twl4030_charger: Add devicetree support 2013-11-12 22:35:45 -08:00
power_supply power_supply: Add support for bq24735 charger 2013-10-25 15:56:51 -07:00
powerpc DMA: Freescale: Add new 8-channel DMA engine device tree nodes 2013-11-13 14:26:27 +05:30
pps pps-gpio: add device-tree binding and support 2013-07-03 16:08:06 -07:00
pwm Documentation/pwm: Update supported SoC name for pwm-samsung 2013-11-11 10:23:56 +01:00
regulator Merge remote-tracking branch 'regulator/topic/palmas' into regulator-next 2013-10-24 11:11:39 +01:00
reset
rng ARM: DT: msm: Add Qualcomm's PRNG driver binding document 2013-10-30 12:02:55 +08:00
rtc drivers/rtc/rtc-palmas.c: support for backup battery charging 2013-09-11 15:58:55 -07:00
serial tty: ar933x_uart: move devicetree binding documentation 2013-09-26 12:33:49 -07:00
serio dts: Deprecate ALTR as a vendor prefix 2013-08-29 12:58:55 -07:00
sound Merge remote-tracking branch 'asoc/topic/tpa6130a2' into asoc-next 2013-10-24 11:24:17 +01:00
spi ARM: tegra: delete nvidia,tegra20-spi.txt binding 2013-12-03 00:00:33 -06:00
staging Staging/iio/adc/touchscreen/MXS: provide devicetree adaption 2013-10-01 16:19:17 +01:00
thermal Merge branches 'exynos', 'imx' and 'fixes' of .git into next 2013-08-15 15:25:27 +08:00
timer clocksource: Provide timekeeping for efm32 SoCs 2013-10-22 22:36:33 +02:00
ufs
usb ARM: SoC DT updates for 3.13 2013-11-11 17:34:56 +09:00
video pwm: Changes for v3.13-rc1 2013-11-16 12:21:40 -08:00
virtio
w1
watchdog watchdog: dw: Enable OF support for DW watchdog timer 2013-11-17 19:38:26 +01:00
x86
eeprom.txt
marvell.txt
open-pic.txt
resource-names.txt
vendor-prefixes.txt of: add vendor prefix for GMT 2013-12-02 23:37:23 -06:00
xilinx.txt