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