]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drivers/gpio: represent gpio-nomadik as an IRQ controller in DT documentation
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Apr 2012 20:36:39 +0000 (21:36 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 24 Apr 2012 07:55:45 +0000 (09:55 +0200)
Now gpio-nomadik has proper bindings devices initialised by Device Tree
entries are able to use the chained GPIO IRQ lines it provides. This
patch aims to reflect that in the gpio-nmk documentation.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-nmk.txt

index 3856789b52ea85bc3a946becf4ff05f38b05b297..ee87467ad8d684d33d43cbd1de95ed85699f3359 100644 (file)
@@ -13,6 +13,7 @@ Required properties:
                                   4 = active high level-sensitive.
                                   8 = active low level-sensitive.
 - gpio-controller       : Marks the device node as a GPIO controller.
+- interrupt-controller  : Marks the device node as an interrupt controller.
 - gpio-bank             : Specifies which bank a controller owns.
 - st,supports-sleepmode : Specifies whether controller can sleep or not
 
@@ -24,6 +25,7 @@ Example:
                         interrupts = <0 120 0x4>;
                         #gpio-cells = <2>;
                         gpio-controller;
+                        interrupt-controller;
                         supports-sleepmode;
                         gpio-bank = <1>;
                 };