1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot%YAML 1.2 3b97ee269SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/input/elan,ekth6915.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6b97ee269SEmmanuel Vadot 7b97ee269SEmmanuel Vadottitle: Elan eKTH6915 touchscreen controller 8b97ee269SEmmanuel Vadot 9b97ee269SEmmanuel Vadotmaintainers: 10b97ee269SEmmanuel Vadot - Douglas Anderson <dianders@chromium.org> 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel Vadotdescription: 13b97ee269SEmmanuel Vadot Supports the Elan eKTH6915 touchscreen controller. 14b97ee269SEmmanuel Vadot This touchscreen controller uses the i2c-hid protocol with a reset GPIO. 15b97ee269SEmmanuel Vadot 16aa1a8ff2SEmmanuel VadotallOf: 17aa1a8ff2SEmmanuel Vadot - $ref: /schemas/input/touchscreen/touchscreen.yaml# 18aa1a8ff2SEmmanuel Vadot 19b97ee269SEmmanuel Vadotproperties: 20b97ee269SEmmanuel Vadot compatible: 217d0873ebSEmmanuel Vadot oneOf: 227d0873ebSEmmanuel Vadot - items: 237d0873ebSEmmanuel Vadot - enum: 247d0873ebSEmmanuel Vadot - elan,ekth5015m 257d0873ebSEmmanuel Vadot - const: elan,ekth6915 26*b2d2a78aSEmmanuel Vadot - enum: 27*b2d2a78aSEmmanuel Vadot - elan,ekth6915 28*b2d2a78aSEmmanuel Vadot - elan,ekth6a12nay 29b97ee269SEmmanuel Vadot 30b97ee269SEmmanuel Vadot reg: 31b97ee269SEmmanuel Vadot const: 0x10 32b97ee269SEmmanuel Vadot 33b97ee269SEmmanuel Vadot interrupts: 34b97ee269SEmmanuel Vadot maxItems: 1 35b97ee269SEmmanuel Vadot 36aa1a8ff2SEmmanuel Vadot panel: true 37aa1a8ff2SEmmanuel Vadot 38b97ee269SEmmanuel Vadot reset-gpios: 39b97ee269SEmmanuel Vadot description: Reset GPIO; not all touchscreens using eKTH6915 hook this up. 40b97ee269SEmmanuel Vadot 417d0873ebSEmmanuel Vadot no-reset-on-power-off: 427d0873ebSEmmanuel Vadot type: boolean 437d0873ebSEmmanuel Vadot description: 447d0873ebSEmmanuel Vadot Reset line is wired so that it can (and should) be left deasserted when 457d0873ebSEmmanuel Vadot the power supply is off. 467d0873ebSEmmanuel Vadot 47b97ee269SEmmanuel Vadot vcc33-supply: 48b97ee269SEmmanuel Vadot description: The 3.3V supply to the touchscreen. 49b97ee269SEmmanuel Vadot 50b97ee269SEmmanuel Vadot vccio-supply: 51b97ee269SEmmanuel Vadot description: 52b97ee269SEmmanuel Vadot The IO supply to the touchscreen. Need not be specified if this is the 53b97ee269SEmmanuel Vadot same as the 3.3V supply. 54b97ee269SEmmanuel Vadot 55b97ee269SEmmanuel Vadotrequired: 56b97ee269SEmmanuel Vadot - compatible 57b97ee269SEmmanuel Vadot - reg 58b97ee269SEmmanuel Vadot - interrupts 59b97ee269SEmmanuel Vadot - vcc33-supply 60b97ee269SEmmanuel Vadot 61b97ee269SEmmanuel VadotadditionalProperties: false 62b97ee269SEmmanuel Vadot 63b97ee269SEmmanuel Vadotexamples: 64b97ee269SEmmanuel Vadot - | 65b97ee269SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 66b97ee269SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 67b97ee269SEmmanuel Vadot 68b97ee269SEmmanuel Vadot i2c { 69b97ee269SEmmanuel Vadot #address-cells = <1>; 70b97ee269SEmmanuel Vadot #size-cells = <0>; 71b97ee269SEmmanuel Vadot 727d0873ebSEmmanuel Vadot touchscreen@10 { 737d0873ebSEmmanuel Vadot compatible = "elan,ekth5015m", "elan,ekth6915"; 74b97ee269SEmmanuel Vadot reg = <0x10>; 75b97ee269SEmmanuel Vadot 76b97ee269SEmmanuel Vadot interrupt-parent = <&tlmm>; 77b97ee269SEmmanuel Vadot interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 78b97ee269SEmmanuel Vadot 79b97ee269SEmmanuel Vadot reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; 80b97ee269SEmmanuel Vadot vcc33-supply = <&pp3300_ts>; 81b97ee269SEmmanuel Vadot }; 82b97ee269SEmmanuel Vadot }; 83