Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/touchscreen/novatek,nvt-ts.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Novatek NVT Touchscreen Controller
8
9maintainers:
10 - Hans de Goede <hdegoede@redhat.com>
11
12allOf:
13 - $ref: touchscreen.yaml#
14
15properties:
16 compatible:
17 enum:
18 - novatek,nt11205-ts
19 - novatek,nt36672a-ts
20
21 reg:
22 maxItems: 1
23
24 interrupts:
25 maxItems: 1
26
27 reset-gpios:
28 maxItems: 1
29
30 vcc-supply: true
31 iovcc-supply: true
32
33required:
34 - compatible
35 - reg
36 - interrupts
37
38unevaluatedProperties: false
39
40examples:
41 - |
42 #include <dt-bindings/gpio/gpio.h>
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44 i2c {
45 #address-cells = <1>;
46 #size-cells = <0>;
47 touchscreen@1 {
48 compatible = "novatek,nt36672a-ts";
49 reg = <0x01>;
50 interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_RISING>;
51 reset-gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
52 vcc-supply = <&vreg_l22a_2p85>;
53 iovcc-supply = <&vreg_l14a_1p8>;
54 pinctrl-0 = <&ts_int_default &ts_reset_default>;
55 pinctrl-1 = <&ts_int_sleep &ts_reset_sleep>;
56 pinctrl-names = "default", "sleep";
57 touchscreen-size-x = <1080>;
58 touchscreen-size-y = <2246>;
59 };
60 };
61
62...