xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunIlitek ILI210x/ILI2117/ILI2120/ILI251x touchscreen controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible:
5*4882a593Smuzhiyun    ilitek,ili210x for ILI210x
6*4882a593Smuzhiyun    ilitek,ili2117 for ILI2117
7*4882a593Smuzhiyun    ilitek,ili2120 for ILI2120
8*4882a593Smuzhiyun    ilitek,ili251x for ILI251x
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- reg: The I2C address of the device
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun- interrupts: The sink for the touchscreen's IRQ output
13*4882a593Smuzhiyun    See ../interrupt-controller/interrupts.txt
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunOptional properties for main touchpad device:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunExample:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	touchscreen@41 {
22*4882a593Smuzhiyun		compatible = "ilitek,ili251x";
23*4882a593Smuzhiyun		reg = <0x41>;
24*4882a593Smuzhiyun		interrupt-parent = <&gpio4>;
25*4882a593Smuzhiyun		interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
26*4882a593Smuzhiyun		reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
27*4882a593Smuzhiyun	};
28