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 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml index 64c4f24ea3dd0..329d89977bdbc 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml @@ -19,7 +19,9 @@ allOf: properties: compatible: - const: st,stmfts + enum: + - st,stmfts + - st,stmfts5 reg: maxItems: 1 @@ -53,6 +55,19 @@ required: unevaluatedProperties: false +allOf: + - if: + properties: + compatible: + const: st,stmfts5 + then: + properties: + switch-gpio: + description: Switch between SLPI and AP mode. + + required: + - switch-gpio + examples: - | #include <dt-bindings/interrupt-controller/irq.h> -- 2.51.0

