hc
2023-11-06 36f0949ef9854b82a9a3154d970da4e3b8d12a61
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
* Sitronix st1232 touchscreen controller
 
Required properties:
- compatible: must be "sitronix,st1232"
- reg: I2C address of the chip
- interrupts: interrupt to which the chip is connected
 
Optional properties:
- gpios: a phandle to the reset GPIO
 
Example:
 
   i2c@00000000 {
       /* ... */
 
       touchscreen@55 {
           compatible = "sitronix,st1232";
           reg = <0x55>;
           interrupts = <2 0>;
           gpios = <&gpio1 166 0>;
       };
 
       /* ... */
   };