accel/qaic: Add AIC200 support
[drm/drm-misc.git] / Documentation / devicetree / bindings / input / touchscreen / novatek,nvt-ts.yaml
blobbd6a60486d1f192d9655b50500afbf19a1dc4728
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#
7 title: Novatek NVT Touchscreen Controller
9 maintainers:
10   - Hans de Goede <hdegoede@redhat.com>
12 allOf:
13   - $ref: touchscreen.yaml#
15 properties:
16   compatible:
17     enum:
18       - novatek,nt11205-ts
19       - novatek,nt36672a-ts
21   reg:
22     maxItems: 1
24   interrupts:
25     maxItems: 1
27   reset-gpios:
28     maxItems: 1
30   vcc-supply: true
31   iovcc-supply: true
33 required:
34   - compatible
35   - reg
36   - interrupts
38 unevaluatedProperties: false
40 examples:
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     };
62 ...