1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/elan,ekth3000.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Elantech I2C Touchpad
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 - $ref: touchscreen/touchscreen.yaml#
27 description: touchpad can be used as a wakeup source
30 description: a phandle for the regulator supplying 3.3V power
34 description: touchpad can support a trackpoint
38 description: touchpad is a clickpad (the entire surface is a button)
42 description: touchpad has a physical middle button
45 $ref: /schemas/types.yaml#/definitions/uint32
46 description: number of antennas on the x axis
49 $ref: /schemas/types.yaml#/definitions/uint32
50 description: number of antennas on the y axis
52 touchscreen-size-x: true
54 touchscreen-size-y: true
56 touchscreen-x-mm: true
58 touchscreen-y-mm: true
65 additionalProperties: false
69 #include <dt-bindings/interrupt-controller/irq.h>
75 compatible = "elan,ekth3000";
77 interrupt-parent = <&gpio4>;
78 interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;