diff options
| author | Aleksei Mamlin <mamlinav@gmail.com> | 2015-03-06 19:43:38 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-06 20:18:17 -0500 |
| commit | 771d8f1b178e7e09fcc641fccd48852958dbc329 (patch) | |
| tree | dde9fadc552a07c0890f362e6939c455713b7ac7 /Documentation/devicetree/bindings/input/touchscreen | |
| parent | a7ac7c95d4682883d141c5d7a7544d2818f0a09f (diff) | |
Input: goodix - add device tree support
This change adds device tree support and binding information for Goodix
GT9xx series touchscreen controller. It also adds support for 5-finger
chips, like GT911 and GT912, which can be found on ARM tablets, such as
Wexler TAB7200 and MSI Primo73.
Datasheets can be found here:
https://drive.google.com/folderview?id=0BxCVOQS3ZymGfmJyY2RKbE5XbVlKNlktVTlwV0lxNEdxd2dzeWZER094cmJPVnMxN1F0Yzg&usp=sharing
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/touchscreen')
| -rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/goodix.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt new file mode 100644 index 000000000000..8ba98eec765b --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | Device tree bindings for Goodix GT9xx series touchscreen controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | |||
| 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 | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | i2c@00000000 { | ||
| 19 | /* ... */ | ||
| 20 | |||
| 21 | gt928@5d { | ||
| 22 | compatible = "goodix,gt928"; | ||
| 23 | reg = <0x5d>; | ||
| 24 | interrupt-parent = <&gpio>; | ||
| 25 | interrupts = <0 0>; | ||
| 26 | }; | ||
| 27 | |||
| 28 | /* ... */ | ||
| 29 | }; | ||
