xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/eeti.txt (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1Bindings for EETI touchscreen controller
2
3Required properties:
4- compatible:	should be "eeti,exc3000-i2c"
5- reg:		I2C address of the chip. Should be set to <0xa>
6- interrupts:	interrupt to which the chip is connected
7
8Optional properties:
9- attn-gpios:	A handle to a GPIO to check whether interrupt is still
10		latched. This is necessary for platforms that lack
11		support for level-triggered IRQs.
12
13The following optional properties described in touchscreen.txt are
14also supported:
15
16- touchscreen-inverted-x
17- touchscreen-inverted-y
18- touchscreen-swapped-x-y
19
20Example:
21
22i2c-master {
23	touchscreen@a {
24		compatible = "eeti,exc3000-i2c";
25		reg = <0xa>;
26		interrupt-parent = <&gpio>;
27		interrupts = <123 IRQ_TYPE_EDGE_RISING>;
28		attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>;
29	};
30};
31