hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Ilitek ILI210x/ILI2117/ILI2120/ILI251x touchscreen controller
 
Required properties:
- compatible:
    ilitek,ili210x for ILI210x
    ilitek,ili2117 for ILI2117
    ilitek,ili2120 for ILI2120
    ilitek,ili251x for ILI251x
 
- reg: The I2C address of the device
 
- interrupts: The sink for the touchscreen's IRQ output
    See ../interrupt-controller/interrupts.txt
 
Optional properties for main touchpad device:
 
- reset-gpios: GPIO specifier for the touchscreen's reset pin (active low)
 
Example:
 
   touchscreen@41 {
       compatible = "ilitek,ili251x";
       reg = <0x41>;
       interrupt-parent = <&gpio4>;
       interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
       reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
   };