diff options
author | Sean Wang <sean.wang@mediatek.com> | 2018-05-20 13:01:47 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-05-24 03:35:30 -0400 |
commit | 6ee6fbde42f41fda10b610f81bbba7b3afea513f (patch) | |
tree | cd888f7f99465c2203abfdaebe10208d529bd0ad | |
parent | c2b39deced784380e81f0e12c5ca7a6543cd8542 (diff) |
dt-bindings: pinctrl: add external interrupt support to MT7622 pinctrl
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>
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt index f18ed99f6e14..def8fcad8941 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt | |||
@@ -9,6 +9,16 @@ Required properties for the root node: | |||
9 | - #gpio-cells: Should be two. The first cell is the pin number and the | 9 | - #gpio-cells: Should be two. The first cell is the pin number and the |
10 | second is the GPIO flags. | 10 | second is the GPIO flags. |
11 | 11 | ||
12 | Optional properties: | ||
13 | - interrupt-controller : Marks the device node as an interrupt controller | ||
14 | |||
15 | If the property interrupt-controller is defined, following property is required | ||
16 | - reg-names: A string describing the "reg" entries. Must contain "eint". | ||
17 | - interrupts : The interrupt output from the controller. | ||
18 | - #interrupt-cells: Should be two. | ||
19 | - interrupt-parent: Phandle of the interrupt parent to which the external | ||
20 | GPIO interrupts are forwarded to. | ||
21 | |||
12 | Please refer to pinctrl-bindings.txt in this directory for details of the | 22 | Please refer to pinctrl-bindings.txt in this directory for details of the |
13 | common pinctrl bindings used by client devices, including the meaning of the | 23 | common pinctrl bindings used by client devices, including the meaning of the |
14 | phrase "pin configuration node". | 24 | phrase "pin configuration node". |