summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorChanghuang Liang <changhuang.liang@starfivetech.com>2023-06-09 11:54:36 +0300
committerHal Feng <hal.feng@starfivetech.com>2024-03-05 10:18:30 +0300
commit3aebd2ea9e8c634ef9f2b557ec515534457fd8bb (patch)
tree1e795809436c4471d329788d9ddf1441db7a3610 /Documentation/devicetree
parentfc02029502a5eada84c3aa254bf1fcae6debf203 (diff)
downloadlinux-3aebd2ea9e8c634ef9f2b557ec515534457fd8bb.tar.xz
dt-binding: input: Add tink_ft5406
Add tink_ft5406. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/input/tinker_ft5406.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/tinker_ft5406.yaml b/Documentation/devicetree/bindings/input/tinker_ft5406.yaml
new file mode 100644
index 000000000000..fabd1e3512f4
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/tinker_ft5406.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/touchscreen/goodix.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Tinker FT5406 touchscreen controller Bindings
+
+maintainers:
+ - Changhuang Liang <changhuang.liang@starfivetech.com>
+
+allOf:
+ - $ref: touchscreen.yaml#
+
+properties:
+ compatible:
+ const: tinker_ft5406
+
+ reg:
+ const: 0x38
+
+additionalProperties: false
+
+required:
+ - compatible
+ - reg
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ tinker_ft5406@38 {
+ compatible = "tinker_ft5406";
+ reg = <0x38>;
+ };
+ };
+
+...