]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: input: auo-pixcir-ts: fix gpio and interrupt properties
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Sep 2022 14:14:28 +0000 (07:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 16 Sep 2022 13:38:51 +0000 (06:38 -0700)
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>
Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt

index f40f21c642b96f90d9447d5984a0119d6e58cba4..b8db975e9f7788179af6fff916170c690d8dd202 100644 (file)
@@ -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>;