aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2013-04-17 08:36:51 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-04-26 02:52:38 -0400
commit08ffb2229fafc2c3a696b325a74bf4198d6b91d7 (patch)
treeac7a847bcb1f312c57762b4c514f971ee275d1bb /Documentation/devicetree/bindings
parentddb27f3bf771b53e0e7aa93d0186ea5c03381e23 (diff)
gpio: grgpio: Add irq support
The drivers sets up an irq domain and hands out unique irqs to irq capable gpio lines regardless of how underlying irq maps to gpio lines. Any gpio line can map to any one or none of the irqs of the core, independently of each other. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-grgpio.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt b/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt
index 1ec46fdf11d0..e466598105fc 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-grgpio.txt
@@ -17,5 +17,10 @@ Optional properties:
17 17
18- nbits : The number of gpio lines. If not present driver assumes 32 lines. 18- nbits : The number of gpio lines. If not present driver assumes 32 lines.
19 19
20- irqmap : An array with an index for each gpio line. An index is either a valid
21 index into the interrupts property array, or 0xffffffff that indicates
22 no irq for that line. Driver provides no interrupt support if not
23 present.
24
20For further information look in the documentation for the GLIB IP core library: 25For further information look in the documentation for the GLIB IP core library:
21http://www.gaisler.com/products/grlib/grip.pdf 26http://www.gaisler.com/products/grlib/grip.pdf