Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/elan,ekth6915.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Elan I2C-HID touchscreen controllers
8
9maintainers:
10 - Douglas Anderson <dianders@chromium.org>
11
12description:
13 Supports the Elan eKTH6915 and other I2C-HID touchscreen controllers.
14 These touchscreen controller use the i2c-hid protocol with a reset GPIO.
15
16allOf:
17 - $ref: /schemas/input/touchscreen/touchscreen.yaml#
18
19properties:
20 compatible:
21 oneOf:
22 - items:
23 - enum:
24 - elan,ekth5015m
25 - const: elan,ekth6915
26 - items:
27 - const: elan,ekth8d18
28 - const: elan,ekth6a12nay
29 - enum:
30 - elan,ekth6915
31 - elan,ekth6a12nay
32
33 reg: true
34
35 interrupts:
36 maxItems: 1
37
38 panel: true
39
40 reset-gpios:
41 description: Reset GPIO; not all touchscreens using eKTH6915 hook this up.
42
43 no-reset-on-power-off:
44 type: boolean
45 description:
46 Reset line is wired so that it can (and should) be left deasserted when
47 the power supply is off.
48
49 vcc33-supply:
50 description: The 3.3V supply to the touchscreen.
51
52 vccio-supply:
53 description:
54 The IO supply to the touchscreen. Need not be specified if this is the
55 same as the 3.3V supply.
56
57required:
58 - compatible
59 - reg
60 - interrupts
61 - vcc33-supply
62
63additionalProperties: false
64
65examples:
66 - |
67 #include <dt-bindings/gpio/gpio.h>
68 #include <dt-bindings/interrupt-controller/irq.h>
69
70 i2c {
71 #address-cells = <1>;
72 #size-cells = <0>;
73
74 touchscreen@10 {
75 compatible = "elan,ekth5015m", "elan,ekth6915";
76 reg = <0x10>;
77
78 interrupt-parent = <&tlmm>;
79 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
80
81 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
82 vcc33-supply = <&pp3300_ts>;
83 };
84 };