Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / goodix.txt
blobc98757a69110dbc6a997998d1e27753c205bdbdd
1 Device tree bindings for Goodix GT9xx series touchscreen controller
3 Required properties:
5  - compatible           : Should be "goodix,gt911"
6                                  or "goodix,gt9110"
7                                  or "goodix,gt912"
8                                  or "goodix,gt927"
9                                  or "goodix,gt9271"
10                                  or "goodix,gt928"
11                                  or "goodix,gt967"
12  - reg                  : I2C address of the chip. Should be 0x5d or 0x14
13  - interrupt-parent     : Interrupt controller to which the chip is connected
14  - interrupts           : Interrupt to which the chip is connected
16 Optional properties:
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
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)
27 Example:
29         i2c@00000000 {
30                 /* ... */
32                 gt928@5d {
33                         compatible = "goodix,gt928";
34                         reg = <0x5d>;
35                         interrupt-parent = <&gpio>;
36                         interrupts = <0 0>;
38                         irq-gpios = <&gpio1 0 0>;
39                         reset-gpios = <&gpio1 1 0>;
40                 };
42                 /* ... */
43         };