1Device tree bindings for Goodix GT9xx series touchscreen controller
2
3Required properties:
4
5 - compatible		: Should be "goodix,gt1151"
6				 or "goodix,gt911"
7				 or "goodix,gt9110"
8				 or "goodix,gt912"
9				 or "goodix,gt927"
10				 or "goodix,gt9271"
11				 or "goodix,gt928"
12				 or "goodix,gt967"
13 - reg			: I2C address of the chip. Should be 0x5d or 0x14
14 - interrupts		: Interrupt to which the chip is connected
15
16Optional properties:
17
18 - irq-gpios		: GPIO pin used for IRQ. The driver uses the
19			  interrupt gpio pin as output to reset the device.
20 - reset-gpios		: GPIO pin used for reset
21
22 - touchscreen-inverted-x  : X axis is inverted (boolean)
23 - touchscreen-inverted-y  : Y axis is inverted (boolean)
24 - touchscreen-swapped-x-y : X and Y axis are swapped (boolean)
25                             (swapping is done after inverting the axis)
26
27Example:
28
29	i2c@00000000 {
30		/* ... */
31
32		gt928@5d {
33			compatible = "goodix,gt928";
34			reg = <0x5d>;
35			interrupt-parent = <&gpio>;
36			interrupts = <0 0>;
37
38			irq-gpios = <&gpio1 0 0>;
39			reset-gpios = <&gpio1 1 0>;
40		};
41
42		/* ... */
43	};
44