pinctrl: lpc1850-scu: document nxp,gpio-pin-interrupt
authorJoachim Eastwood <manabian@gmail.com>
Thu, 25 Feb 2016 21:44:39 +0000 (22:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Mar 2016 03:48:10 +0000 (10:48 +0700)
Update devicetree documention for lpc1850-scu with the new
nxp,gpio-pin-interrupt property.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt

index df0309c5750563fd6febf8edded1487336ee1108..bd8b0c69fa447b056221814d1c0a25375d18620b 100644 (file)
@@ -22,6 +22,10 @@ The following generic nodes are supported:
  - input-schmitt-disable
  - slew-rate
 
+NXP specific properties:
+ - nxp,gpio-pin-interrupt : Assign pin to gpio pin interrupt controller
+                           irq number 0 to 7. See example below.
+
 Not all pins support all properties so either refer to the NXP 1850/4350
 user manual or the pin table in the pinctrl-lpc18xx driver for supported
 pin properties.
@@ -54,4 +58,14 @@ pinctrl: pinctrl@40086000 {
                        bias-disable;
                };
        };
+
+       gpio_joystick_pins: gpio-joystick-pins {
+               gpio_joystick_1_cfg {
+                       pins =  "p9_0";
+                       function = "gpio";
+                       nxp,gpio-pin-interrupt = <0>;
+                       input-enable;
+                       bias-disable;
+               };
+       };
 };