Zeitec ZET6223 touchscreen controller

Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/zeitec,zet6223.yaml#"

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

Zeitec ZET6223 I2C driven touchscreen controller.

Maintainers (maintainers): "Dario Binacchi <dario.binacchi@amarulasolutions.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): "zeitec,zet6223"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

vio-supply — not listed as required here #

1.8V or 3.3V VIO supply.

vcc-supply — not listed as required here #

3.3V VCC supply.

touchscreen-inverted-x — not listed as required here #

true — No constraints added by this property rule.

touchscreen-inverted-y — not listed as required here #

true — No constraints added by this property rule.

touchscreen-size-x — not listed as required here #

true — No constraints added by this property rule.

touchscreen-size-y — not listed as required here #

true — No constraints added by this property rule.

touchscreen-swapped-x-y — not listed as required here #

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    touchscreen@76 {
        compatible = "zeitec,zet6223";
        reg = <0x76>;
        interrupt-parent = <&pio>;
        interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page