xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/zforce_ts.txt (revision 18f21f0355481283ceef0ec10e99554f44c205c2)
1* Neonode infrared touchscreen controller
2
3Required properties:
4- compatible: must be "neonode,zforce"
5- reg: I2C address of the chip
6- interrupts: interrupt to which the chip is connected
7- reset-gpios: reset gpio the chip is connected to
8- x-size: horizontal resolution of touchscreen
9- y-size: vertical resolution of touchscreen
10
11Optional properties:
12- irq-gpios : interrupt gpio the chip is connected to
13- vdd-supply: Regulator controlling the controller supply
14
15Example:
16
17	i2c@00000000 {
18		/* ... */
19
20		zforce_ts@50 {
21			compatible = "neonode,zforce";
22			reg = <0x50>;
23			interrupts = <2 0>;
24			vdd-supply = <&reg_zforce_vdd>;
25
26			reset-gpios = <&gpio5 9 0>; /* RST */
27			irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
28
29			x-size = <800>;
30			y-size = <600>;
31		};
32
33		/* ... */
34	};
35