diff options
author | Dmitry Torokhov <[email protected]> | 2022-09-19 21:26:06 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2022-10-24 05:02:08 -0700 |
commit | 413a009ffff119784382a83e40ddef9c74d4df0c (patch) | |
tree | 697488a7d24883a7591be24dfa36d4543105fce7 | |
parent | a306d0696aa96f85a9d1a1fbed2bcbf19b474961 (diff) |
dt-binding: input: egalax-ts: fix GPIO and IRQ in example
The driver is using level triggered interrupt (low) which is backed by
an active low GPIO that can be used to wake the controller by driving it
low. Let's annotate it properly in the example.
Acked-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt index 92fb2620f5e2..ebbe93810574 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt @@ -13,6 +13,6 @@ Example: compatible = "eeti,egalax_ts"; reg = <0x04>; interrupt-parent = <&gpio1>; - interrupts = <9 2>; - wakeup-gpios = <&gpio1 9 0>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; }; |