xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/auo_pixcir_ts.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1* AUO in-cell touchscreen controller using Pixcir sensors
2
3Required properties:
4- compatible: must be "auo,auo_pixcir_ts"
5- reg: I2C address of the chip
6- interrupts: interrupt to which the chip is connected
7- gpios: gpios the chip is connected to
8  first one is the interrupt gpio and second one the reset gpio
9- x-size: horizontal resolution of touchscreen
10- y-size: vertical resolution of touchscreen
11
12Example:
13
14	i2c@00000000 {
15		/* ... */
16
17		auo_pixcir_ts@5c {
18			compatible = "auo,auo_pixcir_ts";
19			reg = <0x5c>;
20			interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
21
22			gpios = <&gpf 2 0 GPIO_LEVEL_HIGH>, /* INT */
23				<&gpf 5 1 GPIO_LEVEL_LOW>; /* RST */
24
25			x-size = <800>;
26			y-size = <600>;
27		};
28
29		/* ... */
30	};
31