ST-Microelectronics FingerTip touchscreen controller
Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/st,stmfts.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The ST-Microelectronics FingerTip device provides a basic touchscreen functionality. Along with it the user can enable the touchkey which can work as a basic HOME and BACK key for phones.
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): "st,stmfts"
reg — required here #
Maximum number of items (maxItems): 1
avdd-supply — required here #
Analogic power supply
interrupts — required here #
Maximum number of items (maxItems): 1
ledvdd-supply — not listed as required here #
Power supply to the touch key leds
touch-key-connected — not listed as required here #
Value type (type): "boolean"
The touchkey feature is connected
vdd-supply — required here #
Power supply
Required in this object (required): "compatible", "reg", "avdd-supply", "interrupts", "vdd-supply"
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@49 {
compatible = "st,stmfts";
reg = <0x49>;
interrupt-parent = <&gpa1>;
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
touchscreen-size-x = <1599>;
touchscreen-size-y = <2559>;
touch-key-connected;
avdd-supply = <&ldo30_reg>;
vdd-supply = <&ldo31_reg>;
ledvdd-supply = <&ldo33_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause