xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/auo_pixcir_ts.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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 0>;
21
22			gpios = <&gpf 2 0 2>, /* INT */
23				<&gpf 5 1 0>; /* RST */
24
25			x-size = <800>;
26			y-size = <600>;
27		};
28
29		/* ... */
30	};
31