From: David Heidelberg <[email protected]> Introduce more recent STM FTS5 touchscreen support.
Signed-off-by: David Heidelberg <[email protected]> --- .../bindings/input/touchscreen/st,stmfts.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml index 6eb1ad6582d82..3de4bc5cd3f78 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml @@ -9,22 +9,21 @@ title: ST-Microelectronics FingerTip touchscreen controller maintainers: - Krzysztof Kozlowski <[email protected]> description: 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. -allOf: - - $ref: touchscreen.yaml# - properties: compatible: - const: st,stmfts + enum: + - st,stmfts + - st,stmfts5 reg: maxItems: 1 avdd-supply: description: Analogic power supply interrupts: @@ -35,27 +34,42 @@ properties: touch-key-connected: type: boolean description: The touchkey feature is connected vdd-supply: description: Power supply + mode-switch-gpios: + description: Optional switch between touchscreen SLPI and AP mode. + maxItems: 1 + reset-gpios: description: Reset GPIO (active-low) maxItems: 1 required: - compatible - reg - avdd-supply - interrupts - vdd-supply +allOf: + - $ref: touchscreen.yaml# + - if: + not: + properties: + compatible: + const: st,stmfts5 + then: + properties: + mode-switch-gpios: false + unevaluatedProperties: false examples: - | #include <dt-bindings/interrupt-controller/irq.h> i2c { #address-cells = <1>; -- 2.55.0

