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,gt5688"
7 or "goodix,gt911"
8 or "goodix,gt9110"
9 or "goodix,gt912"
10 or "goodix,gt927"
11 or "goodix,gt9271"
12 or "goodix,gt928"
13 or "goodix,gt967"
14 - reg : I2C address of the chip. Should be 0x5d or 0x14
15 - interrupts : Interrupt to which the chip is connected
16
17Optional properties:
18
19 - irq-gpios : GPIO pin used for IRQ. The driver uses the
20 interrupt gpio pin as output to reset the device.
21 - reset-gpios : GPIO pin used for reset
22 - touchscreen-inverted-x
23 - touchscreen-inverted-y
24 - touchscreen-size-x
25 - touchscreen-size-y
26 - touchscreen-swapped-x-y
27
28The touchscreen-* properties are documented in touchscreen.txt in this
29directory.
30
31Example:
32
33 i2c@00000000 {
34 /* ... */
35
36 gt928@5d {
37 compatible = "goodix,gt928";
38 reg = <0x5d>;
39 interrupt-parent = <&gpio>;
40 interrupts = <0 0>;
41
42 irq-gpios = <&gpio1 0 0>;
43 reset-gpios = <&gpio1 1 0>;
44 };
45
46 /* ... */
47 };