Novatek NVT Touchscreen Controller

Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/novatek,nvt-ts.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Hans de Goede <hdegoede@redhat.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): touchscreen.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "novatek,nt11205-ts", "novatek,nt36672a-ts"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

vcc-supply — not listed as required here #

true — No constraints added by this property rule.

iovcc-supply — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (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>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page