Elan eKTF2127 I2C touchscreen controller

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

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

Maintainers (maintainers): "Siebren Vroegindeweij <siebren.vroegindeweij@hotmail.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): "elan,ektf2127", "elan,ektf2132", "elan,ektf2232"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

power-gpios — required here #

Maximum number of items (maxItems): 1

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

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/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    touchscreen@15 {
        compatible = "elan,ektf2127";
        reg = <0x15>;
        interrupt-parent = <&pio>;
        interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>;
        power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;
        touchscreen-inverted-x;
        touchscreen-swapped-x-y;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page