xref: /openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt (revision 812f77b749a8ae11f58dacf0d3ed65e7ede47458)
1* Elan eKTF2127 I2C touchscreen controller
2
3Required properties:
4 - compatible		  : "elan,ektf2127"
5 - reg			  : I2C slave address of the chip (0x40)
6 - interrupt-parent	  : a phandle pointing to the interrupt controller
7			    serving the interrupt for this chip
8 - interrupts		  : interrupt specification for the ektf2127 interrupt
9 - power-gpios		  : GPIO specification for the pin connected to the
10			    ektf2127's wake input. This needs to be driven high
11			    to take ektf2127 out of it's low power state
12
13For additional optional properties see: touchscreen.txt
14
15Example:
16
17i2c@00000000 {
18	ektf2127: touchscreen@15 {
19		compatible = "elan,ektf2127";
20		reg = <0x15>;
21		interrupt-parent = <&pio>;
22		interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>
23		power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
24		touchscreen-inverted-x;
25		touchscreen-swapped-x-y;
26	};
27};
28