summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/touchscreen/goodix.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/input/touchscreen/goodix.txt')
-rw-r--r--dts/Bindings/input/touchscreen/goodix.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/dts/Bindings/input/touchscreen/goodix.txt b/dts/Bindings/input/touchscreen/goodix.txt
new file mode 100644
index 0000000000..8ba98eec76
--- /dev/null
+++ b/dts/Bindings/input/touchscreen/goodix.txt
@@ -0,0 +1,29 @@
+Device tree bindings for Goodix GT9xx series touchscreen controller
+
+Required properties:
+
+ - compatible : Should be "goodix,gt911"
+ or "goodix,gt9110"
+ or "goodix,gt912"
+ or "goodix,gt927"
+ or "goodix,gt9271"
+ or "goodix,gt928"
+ or "goodix,gt967"
+ - reg : I2C address of the chip. Should be 0x5d or 0x14
+ - interrupt-parent : Interrupt controller to which the chip is connected
+ - interrupts : Interrupt to which the chip is connected
+
+Example:
+
+ i2c@00000000 {
+ /* ... */
+
+ gt928@5d {
+ compatible = "goodix,gt928";
+ reg = <0x5d>;
+ interrupt-parent = <&gpio>;
+ interrupts = <0 0>;
+ };
+
+ /* ... */
+ };