summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input/touchscreen/goodix.txt
diff options
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2017-10-24 21:06:41 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-10-24 21:58:19 +0300
commit25309004c0e761986c9dc23526a03928a85188c0 (patch)
tree1c42f3bbb50f21347aa491969835dc0d9f47a067 /Documentation/devicetree/bindings/input/touchscreen/goodix.txt
parent6a3eafe490947cb7cd4e6dce1112375f9d9cadfe (diff)
downloadlinux-25309004c0e761986c9dc23526a03928a85188c0.tar.xz
Input: goodix - support gt1151 touchpanel
Support was added based on Goodix GitHub repo [1]. There are two major differences between gt1151 and currently supported devices (gt9x): * CONFIG_DATA register has 0x8050 address instead of 0x8047, * config data checksum has 16-bit width instead of 8-bit. Also update goodix_i2c_test() function, so it reads ID register (which has the same address for all devices) instead of CONFIG_DATA (because its address is known only after reading ID of the device). [1] https://github.com/goodix/gt1x_driver_generic Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/touchscreen/goodix.txt')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/goodix.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt
index c98757a69110..0c369d8ebcab 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt
@@ -2,7 +2,8 @@ Device tree bindings for Goodix GT9xx series touchscreen controller
Required properties:
- - compatible : Should be "goodix,gt911"
+ - compatible : Should be "goodix,gt1151"
+ or "goodix,gt911"
or "goodix,gt9110"
or "goodix,gt912"
or "goodix,gt927"