Path: blob/master/Documentation/devicetree/bindings/input/elan,ekth6915.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/input/elan,ekth6915.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Elan I2C-HID touchscreen controllers78maintainers:9- Douglas Anderson <dianders@chromium.org>1011description:12Supports the Elan eKTH6915 and other I2C-HID touchscreen controllers.13These touchscreen controller use the i2c-hid protocol with a reset GPIO.1415allOf:16- $ref: /schemas/input/touchscreen/touchscreen.yaml#1718properties:19compatible:20oneOf:21- items:22- enum:23- elan,ekth5015m24- const: elan,ekth691525- items:26- const: elan,ekth8d1827- const: elan,ekth6a12nay28- enum:29- elan,ekth691530- elan,ekth6a12nay3132reg: true3334interrupts:35maxItems: 13637panel: true3839reset-gpios:40description: Reset GPIO; not all touchscreens using eKTH6915 hook this up.4142no-reset-on-power-off:43type: boolean44description:45Reset line is wired so that it can (and should) be left deasserted when46the power supply is off.4748vcc33-supply:49description: The 3.3V supply to the touchscreen.5051vccio-supply:52description:53The IO supply to the touchscreen. Need not be specified if this is the54same as the 3.3V supply.5556required:57- compatible58- reg59- interrupts60- vcc33-supply6162additionalProperties: false6364examples:65- |66#include <dt-bindings/gpio/gpio.h>67#include <dt-bindings/interrupt-controller/irq.h>6869i2c {70#address-cells = <1>;71#size-cells = <0>;7273touchscreen@10 {74compatible = "elan,ekth5015m", "elan,ekth6915";75reg = <0x10>;7677interrupt-parent = <&tlmm>;78interrupts = <9 IRQ_TYPE_LEVEL_LOW>;7980reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;81vcc33-supply = <&pp3300_ts>;82};83};848586