Elan I2C-HID touchscreen controllers

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

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

Maintainers (maintainers): "Douglas Anderson <dianders@chromium.org>"

Supports the Elan eKTH6915 and other I2C-HID touchscreen controllers. These touchscreen controller use the i2c-hid protocol with a reset GPIO.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "elan,ekth5015m"

Item 2

Exact value (const): "elan,ekth6915"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "elan,ekth8d18"

Item 2

Exact value (const): "elan,ekth6a12nay"

Rule 3

Allowed values (enum): "elan,ekth6915", "elan,ekth6a12nay"

reg — required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

panel — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

Reset GPIO; not all touchscreens using eKTH6915 hook this up.

no-reset-on-power-off — not listed as required here #

Value type (type): "boolean"

Reset line is wired so that it can (and should) be left deasserted when the power supply is off.

vcc33-supply — required here #

The 3.3V supply to the touchscreen.

vccio-supply — not listed as required here #

The IO supply to the touchscreen. Need not be specified if this is the same as the 3.3V supply.

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

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

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@10 {
    compatible = "elan,ekth5015m", "elan,ekth6915";
    reg = <0x10>;

    interrupt-parent = <&tlmm>;
    interrupts = <9 IRQ_TYPE_LEVEL_LOW>;

    reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
    vcc33-supply = <&pp3300_ts>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page