1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/input/touchscreen/elan,elants_i2c.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Elantech I2C Touchscreen
10 - David Heidelberg <david@ixit.cz>
13 - $ref: touchscreen.yaml#
22 - const: elan,ekth3915
23 - const: elan,ekth3500
33 description: touchscreen can be used as a wakeup source.
37 description: reset gpio the chip is connected to.
40 description: a phandle for the regulator supplying 3.3V power.
43 description: a phandle for the regulator supplying IO power.
45 touchscreen-inverted-x: true
46 touchscreen-inverted-y: true
47 touchscreen-size-x: true
48 touchscreen-size-y: true
49 touchscreen-swapped-x-y: true
51 additionalProperties: false
60 #include <dt-bindings/interrupt-controller/irq.h>
67 compatible = "elan,ekth3500";
70 interrupt-parent = <&gpio4>;
71 interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;