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