Skip to content

Commit 6ee6fbd

Browse files
moore-broslinusw
authored andcommitted
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>
1 parent c2b39de commit 6ee6fbd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/devicetree/bindings/pinctrl/pinctrl-mt7622.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ Required properties for the root node:
99
- #gpio-cells: Should be two. The first cell is the pin number and the
1010
second is the GPIO flags.
1111

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+
1222
Please refer to pinctrl-bindings.txt in this directory for details of the
1323
common pinctrl bindings used by client devices, including the meaning of the
1424
phrase "pin configuration node".

0 commit comments

Comments
 (0)