Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Device tree bindings for Goodix GT9xx series touchscreen controller
2
3Required properties:
4
5 - compatible : Should be "goodix,gt1151"
6 or "goodix,gt5663"
7 or "goodix,gt5688"
8 or "goodix,gt911"
9 or "goodix,gt9110"
10 or "goodix,gt912"
11 or "goodix,gt927"
12 or "goodix,gt9271"
13 or "goodix,gt928"
14 or "goodix,gt967"
15 - reg : I2C address of the chip. Should be 0x5d or 0x14
16 - interrupts : Interrupt to which the chip is connected
17
18Optional properties:
19
20 - irq-gpios : GPIO pin used for IRQ. The driver uses the
21 interrupt gpio pin as output to reset the device.
22 - reset-gpios : GPIO pin used for reset
23 - AVDD28-supply : Analog power supply regulator on AVDD28 pin
24 - VDDIO-supply : GPIO power supply regulator on VDDIO pin
25 - touchscreen-inverted-x
26 - touchscreen-inverted-y
27 - touchscreen-size-x
28 - touchscreen-size-y
29 - touchscreen-swapped-x-y
30
31The touchscreen-* properties are documented in touchscreen.txt in this
32directory.
33
34Example:
35
36 i2c@00000000 {
37 /* ... */
38
39 gt928@5d {
40 compatible = "goodix,gt928";
41 reg = <0x5d>;
42 interrupt-parent = <&gpio>;
43 interrupts = <0 0>;
44
45 irq-gpios = <&gpio1 0 0>;
46 reset-gpios = <&gpio1 1 0>;
47 };
48
49 /* ... */
50 };