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