Pixcir Touchscreen Controller
Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/pixcir,pixcir_ts.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.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "pixcir,pixcir_ts", "pixcir,pixcir_tangoc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
attb-gpio — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
wake-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "attb-gpio", "touchscreen-size-x", "touchscreen-size-y"
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen@5c {
compatible = "pixcir,pixcir_ts";
reg = <0x5c>;
interrupts = <2 0>;
attb-gpio = <&gpf 2 0 2>;
touchscreen-size-x = <800>;
touchscreen-size-y = <600>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0