]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: pinctrl: add external interrupt support to MT7622 pinctrl
authorSean Wang <sean.wang@mediatek.com>
Sun, 20 May 2018 17:01:47 +0000 (01:01 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 May 2018 07:35:30 +0000 (09:35 +0200)
Extend the capability of MT7622 pinctrl with adding EINT so that each
GPIO can be used to notify CPU when a signal state is changing on the
line as an external interrupt.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt

index f18ed99f6e1455d0082327c0dde5797f589bb6a1..def8fcad894147ed4e7d4ea14b974e902c7baab7 100644 (file)
@@ -9,6 +9,16 @@ Required properties for the root node:
  - #gpio-cells: Should be two. The first cell is the pin number and the
    second is the GPIO flags.
 
+Optional properties:
+- interrupt-controller  : Marks the device node as an interrupt controller
+
+If the property interrupt-controller is defined, following property is required
+- reg-names: A string describing the "reg" entries. Must contain "eint".
+- interrupts : The interrupt output from the controller.
+- #interrupt-cells: Should be two.
+- interrupt-parent: Phandle of the interrupt parent to which the external
+  GPIO interrupts are forwarded to.
+
 Please refer to pinctrl-bindings.txt in this directory for details of the
 common pinctrl bindings used by client devices, including the meaning of the
 phrase "pin configuration node".