xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/goodix_gt1x.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Goodix GT1x series touch controller
2
3Required properties:
4
5 - compatible			: Should be "goodix,gt1x", compatible with the
6				  of_match_table defined in driver.
7 - reg				: I2C slave address of the device.
8
9 - goodix,irq-gpio		: Interrupt gpio which is to provide interrupts to
10				  host, same as "interrupts" node.
11 - goodix,rst-gpio:		: Reset gpio to control the reset of chip.
12
13Optional properties:
14
15 - power-supply			: Power supply needed to power up the device, when use
16				  external regulator, do not add this property.
17 - goodix,ic_type		: Specify touch IC type.
18
19Example:
20
21        i2c@00000000 {
22                /* ... */
23
24                gt9xx@14 {
25                        compatible = "goodix,gt1x";
26                        reg = <0x14>;
27                        status = "okay";
28
29                        goodix,rst-gpio = <&msm_gpio 12 0x0>;
30                        goodix,irq-gpio = <&msm_gpio 13 0x2800>;
31                        goodix,ic_type	= "gt5688";
32                };
33
34                /* ... */
35        };
36