Rohm BU21013 touchscreen
Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/rohm,bu21013.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Rohm BU21013 I2C driven touchscreen controller.
Maintainers (maintainers): "Dario Binacchi <dario.binacchi@amarulasolutions.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): "rohm,bu21013_tp"
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
touch-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO registering a touch event.
avdd-supply — not listed as required here #
Analogic power supply
rohm,touch-max-x — not listed as required here #
Deprecated (deprecated): true
Maximum value on the X axis.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
rohm,touch-max-y — not listed as required here #
Deprecated (deprecated): true
Maximum value on the Y axis.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
rohm,flip-x — not listed as required here #
Deprecated (deprecated): true
Flip touch coordinates on the X axis
Value type (type): "boolean"
rohm,flip-y — not listed as required here #
Deprecated (deprecated): true
Flip touch coordinates on the Y axis
Value type (type): "boolean"
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-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-swapped-x-y — not listed as required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reset-gpios", "interrupts"
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen@5c {
compatible = "rohm,bu21013_tp";
reg = <0x5c>;
interrupt-parent = <&gpio2>;
interrupts = <0x20 IRQ_TYPE_LEVEL_LOW>;
reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
avdd-supply = <&ab8500_ldo_aux1_reg>;
touchscreen-size-x = <384>;
touchscreen-size-y = <704>;
touchscreen-inverted-y;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)