Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: document Novatek NVT touchscreen controller

Document the Novatek NVT touchscreen controller present in devices like
qcom/sdm845-xiaomi-beryllium-tianma.dts. Also, include the devictree
binding file in the MAINTAINERS file.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
Link: https://lore.kernel.org/r/20240601-nvt-ts-devicetree-regulator-support-v5-2-aa9bf986347d@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Joel Selvaraj and committed by
Dmitry Torokhov
285fe9b5 c12fbeb2

+63
+62
Documentation/devicetree/bindings/input/touchscreen/novatek,nvt-ts.yaml
··· 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 + 7 + title: Novatek NVT Touchscreen Controller 8 + 9 + maintainers: 10 + - Hans de Goede <hdegoede@redhat.com> 11 + 12 + allOf: 13 + - $ref: touchscreen.yaml# 14 + 15 + properties: 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 + 33 + required: 34 + - compatible 35 + - reg 36 + - interrupts 37 + 38 + unevaluatedProperties: false 39 + 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 + }; 61 + 62 + ...
+1
MAINTAINERS
··· 16260 16260 M: Hans de Goede <hdegoede@redhat.com> 16261 16261 L: linux-input@vger.kernel.org 16262 16262 S: Maintained 16263 + F: Documentation/devicetree/bindings/input/touchscreen/novatek,nvt-ts.yaml 16263 16264 F: drivers/input/touchscreen/novatek-nvt-ts.c 16264 16265 16265 16266 NSDEPS