linux/Documentation/devicetree/bindings/pinctrl
Tony Lindgren 3e6cee1786 pinctrl: single: Add support for wake-up interrupts
The pin control registers can have interrupts for example
for device wake-up. These interrupts can be treated as a
chained interrupt controller as suggested earlier by
Linus Walleij <linus.walleij@linaro.org>.

This patch adds support for interrupts in a way that
should be pretty generic, and works for the omaps that
support wake-up interrupts. On omaps, there's an
interrupt enable and interrupt status bit for each pin.
The two pinctrl domains on omaps share a single interrupt
from the PRM chained interrupt handler. Support for
other similar hardware should be easy to add.

Note that this patch does not attempt to handle the
wake-up interrupts automatically unlike the earlier
patches. This patch allows the device drivers to do
a request_irq() on the wake-up pins as needed. I'll
try to do also a separate generic patch for handling
the wake-up events automatically.

Also note that as this patch makes the pinctrl-single
an irq controller, the current bindings need some
extra trickery to use interrupts from two different
interrupt controllers for the same driver. So it
might be worth waiting a little on the patches
enabling the wake-up interrupts from drivers as there
should be a generic way to handle it coming. And also
there's been discussion of interrupts-extended binding
for using interrupts from multiple interrupt controllers.

In any case, this patch should be ready to go allowing
handling the wake-up interrupts in a generic way, or
separately from the device drivers.

Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Prakash Manjunathappa <prakash.pm@ti.com>
Cc: Roger Quadros <rogerq@ti.com>
Cc: linux-kernel@vger.kernel.org
Cc: Benoît Cousson <bcousson@baylibre.com>
Cc: devicetree@vger.kernel.org
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2013-10-10 15:30:30 -07:00
..
allwinner,sunxi-pinctrl.txt ARM: sunxi: Add pinctrl driver for Allwinner SoCs 2013-01-22 13:51:15 +01:00
atmel,at91-pinctrl.txt doc: Fix typo in doucmentations 2013-07-25 12:34:15 +02:00
brcm,bcm2835-gpio.txt doc: devicetree: Fix various typos 2013-04-24 16:36:15 +02:00
fsl,imx6dl-pinctrl.txt pinctrl: add pinctrl driver for imx6dl 2013-04-09 22:53:38 +08:00
fsl,imx6q-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx6sl-pinctrl.txt pinctrl: add pinctrl driver for imx6sl 2013-04-09 22:53:38 +08:00
fsl,imx35-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx51-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx53-pinctrl.txt pinctrl: imx: move hard-coding data into device tree 2013-04-09 22:52:50 +08:00
fsl,imx-pinctrl.txt i.MX6: Documentation: update from fsl,card-wired to non-removable 2013-06-17 16:04:22 +08:00
fsl,mxs-pinctrl.txt pinctrl: pinctrl-mxs: document the missing pull-ups 2013-04-04 21:22:42 +08:00
fsl,vf610-pinctrl.txt pinctrl: add VF610 pinctrl driver 2013-06-16 11:56:51 +02:00
img,tz1090-pdc-pinctrl.txt pinctrl: remove slew-rate parameter from tz1090 2013-06-25 15:34:49 +02:00
img,tz1090-pinctrl.txt pinctrl: remove slew-rate parameter from tz1090 2013-06-25 15:34:49 +02:00
lantiq,falcon-pinumx.txt Document: devicetree: add OF documents for lantiq falcon pinctrl 2012-09-13 10:30:59 +02:00
lantiq,xway-pinumx.txt Document: devicetree: add OF documents for lantiq xway pinctrl 2012-09-13 10:30:59 +02:00
marvell,armada-370-pinctrl.txt pinctrl: mvebu: add pinctrl driver for Armada 370 2012-09-22 14:50:19 +00:00
marvell,armada-xp-pinctrl.txt pinctrl: mvebu: add pinctrl driver for Armada XP 2012-09-22 14:50:20 +00:00
marvell,dove-pinctrl.txt pinctrl: dove: add PMU functions to pinctrl 2013-06-16 11:56:49 +02:00
marvell,kirkwood-pinctrl.txt ARM: Kirkwood: support 98DX412x kirkwoods with pinctrl 2012-11-24 02:58:43 +00:00
marvell,mvebu-pinctrl.txt pinctrl: mvebu: pinctrl driver core 2012-09-22 14:50:14 +00:00
nvidia,tegra20-pinmux.txt ARM: tegra: define valid function names in DT document 2013-07-30 12:12:08 -06:00
nvidia,tegra30-pinmux.txt ARM: tegra: define valid function names in DT document 2013-07-30 12:12:08 -06:00
nvidia,tegra114-pinmux.txt ARM: tegra: define valid function names in DT document 2013-07-30 12:12:08 -06:00
pinctrl_spear.txt
pinctrl-bindings.txt pinctrl: add generic pins and functions properties 2013-08-07 22:30:50 +02:00
pinctrl-palmas.txt pinctrl: palmas: add pincontrol driver 2013-08-14 21:00:42 +02:00
pinctrl-single.txt pinctrl: single: Add support for wake-up interrupts 2013-10-10 15:30:30 -07:00
pinctrl-sirf.txt pinctrl: sirf: enable GPIO pullup/down configuration from dts 2012-12-26 01:59:53 +01:00
pinctrl-st.txt pinctrl: st: Add pinctrl and pinconf support. 2013-06-25 16:22:19 +01:00
pinctrl-vt8500.txt pinctrl: gpio: vt8500: Add pincontrol driver for arch-vt8500 2013-04-04 18:00:02 +13:00
renesas,pfc-pinctrl.txt sh-pfc: Add pinconf support to DT bindings 2013-06-18 10:57:59 +02:00
rockchip,pinctrl.txt pinctrl: add pinctrl driver for Rockchip SoCs 2013-06-16 11:57:32 +02:00
samsung-pinctrl.txt pinctrl: Add s5pv210 support to pinctrl-exynos 2013-08-28 15:56:06 +02:00
ste,abx500.txt pinctrl: abx500: Add device tree support 2013-06-24 13:16:45 +02:00
ste,nomadik.txt Documentation: Update binding for Nomadik and DBx5x based platforms 2013-08-06 23:48:49 +02:00