aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input/touchscreen
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-14 07:14:28 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-16 06:38:51 -0700
commit437d49b051e8ca80d2ffa8f3fd98ce58755c2758 (patch)
treecbb493eb254771ce09ffabb3a9c538c3f52694f8 /Documentation/devicetree/bindings/input/touchscreen
parentInput: auo-pixcir-ts - switch to using generic device properties (diff)
downloadlinux-dev-437d49b051e8ca80d2ffa8f3fd98ce58755c2758.tar.xz
linux-dev-437d49b051e8ca80d2ffa8f3fd98ce58755c2758.zip
dt-bindings: input: auo-pixcir-ts: fix gpio and interrupt properties
Add proper interrupt trigger and gpio polarity data to the binding example. Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20220914141428.2201784-5-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/touchscreen')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt b/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt
index f40f21c642b9..b8db975e9f77 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt
@@ -17,10 +17,10 @@ Example:
auo_pixcir_ts@5c {
compatible = "auo,auo_pixcir_ts";
reg = <0x5c>;
- interrupts = <2 0>;
+ interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
- gpios = <&gpf 2 0 2>, /* INT */
- <&gpf 5 1 0>; /* RST */
+ gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */
+ <&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */
x-size = <800>;
y-size = <600>;