Elantech I2C Touchpad
Schema identifier ($id): "http://devicetree.org/schemas/input/elan,ekth3000.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Torokhov <dmitry.torokhov@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):touchscreen/touchscreen.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "elan,ekth3000"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
Value type (type): "boolean"
touchpad can be used as a wakeup source
vcc-supply — not listed as required here #
a phandle for the regulator supplying 3.3V power
elan,trackpoint — not listed as required here #
Value type (type): "boolean"
touchpad can support a trackpoint
elan,clickpad — not listed as required here #
Value type (type): "boolean"
touchpad is a clickpad (the entire surface is a button)
elan,middle-button — not listed as required here #
Value type (type): "boolean"
touchpad has a physical middle button
elan,x_traces — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
number of antennas on the x axis
elan,y_traces — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
number of antennas on the y axis
touchscreen-size-x — not listed as required here #
true — No constraints added by this property rule.
touchscreen-size-y — not listed as required here #
true — No constraints added by this property rule.
touchscreen-x-mm — not listed as required here #
true — No constraints added by this property rule.
touchscreen-y-mm — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchpad@15 {
compatible = "elan,ekth3000";
reg = <0x15>;
interrupt-parent = <&gpio4>;
interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
wakeup-source;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)