summaryrefslogtreecommitdiff
path: root/dts/upstream/Bindings/input/touchscreen
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-01-26 16:17:48 -0600
committerTom Rini <[email protected]>2025-01-26 16:19:33 -0600
commitd8a7100d658eb201fa0e955667fdff298db31945 (patch)
tree90447acc915dafdd9227d24f748b5f1a3976b9d3 /dts/upstream/Bindings/input/touchscreen
parent2348dd8e41ea7912f2ecf35684bbe6386281fb57 (diff)
parent844493d7e99cb795f3e28130ee09ba7a6441162f (diff)
Subtree merge tag 'v6.13-dts' of dts repo [1] into dts/upstream
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git [rockchip fixes from Jonas Karlman via IRC]
Diffstat (limited to 'dts/upstream/Bindings/input/touchscreen')
-rw-r--r--dts/upstream/Bindings/input/touchscreen/novatek,nvt-ts.yaml62
1 files changed, 62 insertions, 0 deletions
diff --git a/dts/upstream/Bindings/input/touchscreen/novatek,nvt-ts.yaml b/dts/upstream/Bindings/input/touchscreen/novatek,nvt-ts.yaml
new file mode 100644
index 00000000000..bd6a60486d1
--- /dev/null
+++ b/dts/upstream/Bindings/input/touchscreen/novatek,nvt-ts.yaml
@@ -0,0 +1,62 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/touchscreen/novatek,nvt-ts.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Novatek NVT Touchscreen Controller
+
+maintainers:
+ - Hans de Goede <[email protected]>
+
+allOf:
+ - $ref: touchscreen.yaml#
+
+properties:
+ compatible:
+ enum:
+ - novatek,nt11205-ts
+ - novatek,nt36672a-ts
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+
+ vcc-supply: true
+ iovcc-supply: true
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ touchscreen@1 {
+ compatible = "novatek,nt36672a-ts";
+ reg = <0x01>;
+ interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>;
+ reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
+ vcc-supply = <&vreg_l22a_2p85>;
+ iovcc-supply = <&vreg_l14a_1p8>;
+ pinctrl-0 = <&ts_int_default &ts_reset_default>;
+ pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>;
+ pinctrl-names = "default", "sleep";
+ touchscreen-size-x = <1080>;
+ touchscreen-size-y = <2246>;
+ };
+ };
+
+...