EETI EXC3000 series touchscreen controller
Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Torokhov <dmitry.torokhov@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"eeti,exc3000"
Rule 2
Exact value (
const):"eeti,exc80h60"
Rule 3
Exact value (
const):"eeti,exc80h84"
Rule 4
Exact value (
const):"eeti,egalax_ts"
Rule 5
Exact value (
const):"eeti,exc3000-i2c"Deprecated (
deprecated):true
Rule 6
Array item rules (
items)Item 1
Item 2
Exact value (
const):"eeti,exc80h84"
reg — required here #
Allowed values (enum): 4, 10, 42
interrupts — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
wakeup-gpios — not listed as required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
Power supply regulator for the chip
attn-gpios — not listed as required here #
Deprecated (deprecated): true
Maximum number of items (maxItems): 1
Phandle to a GPIO to check whether interrupt is still latched. This is necessary for platforms that lack support for level-triggered IRQs.
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-inverted-x — not listed as required here #
true — No constraints added by this property rule.
touchscreen-inverted-y — not listed as required here #
true — No constraints added by this property rule.
touchscreen-swapped-x-y — 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.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):touchscreen.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereExact value (
const):42
wakeup-gpios— not listed as required here
false— Not permitted by this property rule.
attn-gpios— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"touchscreen-size-x","touchscreen-size-y"
Examples (examples) #
#include "dt-bindings/interrupt-controller/irq.h"
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen@2a {
compatible = "eeti,exc3000";
reg = <0x2a>;
interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
touchscreen-size-x = <4096>;
touchscreen-size-y = <4096>;
touchscreen-inverted-x;
touchscreen-swapped-x-y;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 18: Do NOT use for new binding