Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -3
+3 -3
Documentation/devicetree/bindings/input/touchscreen/auo_pixcir_ts.txt
··· 17 17 auo_pixcir_ts@5c { 18 18 compatible = "auo,auo_pixcir_ts"; 19 19 reg = <0x5c>; 20 - interrupts = <2 0>; 20 + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; 21 21 22 - gpios = <&gpf 2 0 2>, /* INT */ 23 - <&gpf 5 1 0>; /* RST */ 22 + gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */ 23 + <&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */ 24 24 25 25 x-size = <800>; 26 26 y-size = <600>;