0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/input/elan,ekth6915.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Elan eKTH6915 touchscreen controller
0008
0009 maintainers:
0010 - Douglas Anderson <dianders@chromium.org>
0011
0012 description:
0013 Supports the Elan eKTH6915 touchscreen controller.
0014 This touchscreen controller uses the i2c-hid protocol with a reset GPIO.
0015
0016 properties:
0017 compatible:
0018 items:
0019 - const: elan,ekth6915
0020
0021 reg:
0022 const: 0x10
0023
0024 interrupts:
0025 maxItems: 1
0026
0027 reset-gpios:
0028 description: Reset GPIO; not all touchscreens using eKTH6915 hook this up.
0029
0030 vcc33-supply:
0031 description: The 3.3V supply to the touchscreen.
0032
0033 vccio-supply:
0034 description:
0035 The IO supply to the touchscreen. Need not be specified if this is the
0036 same as the 3.3V supply.
0037
0038 required:
0039 - compatible
0040 - reg
0041 - interrupts
0042 - vcc33-supply
0043
0044 additionalProperties: false
0045
0046 examples:
0047 - |
0048 #include <dt-bindings/gpio/gpio.h>
0049 #include <dt-bindings/interrupt-controller/irq.h>
0050
0051 i2c {
0052 #address-cells = <1>;
0053 #size-cells = <0>;
0054
0055 ap_ts: touchscreen@10 {
0056 compatible = "elan,ekth6915";
0057 reg = <0x10>;
0058
0059 interrupt-parent = <&tlmm>;
0060 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
0061
0062 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
0063 vcc33-supply = <&pp3300_ts>;
0064 };
0065 };