Neonode infrared touchscreen controller
Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/neonode,zforce.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):touchscreen.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "neonode,zforce"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
Maximum number of items (maxItems): 1
irq-gpios — not listed as required here #
Maximum number of items (maxItems): 1
x-size — not listed as required here #
Deprecated (deprecated): true
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
y-size — not listed as required here #
Deprecated (deprecated): true
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
vdd-supply — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "reset-gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen@50 {
compatible = "neonode,zforce";
reg = <0x50>;
interrupts = <2 0>;
vdd-supply = <®_zforce_vdd>;
reset-gpios = <&gpio5 9 0>; /* RST */
irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
touchscreen-min-x = <0>;
touchscreen-size-x = <800>;
touchscreen-min-y = <0>;
touchscreen-size-y = <600>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause