From: David Heidelberg <[email protected]> Introduce more recent STM FTS5 touchscreen support.
Signed-off-by: David Heidelberg <[email protected]> --- .../devicetree/bindings/input/touchscreen/st,stmfts.yaml | 15 ++++++++++++++- 1 file changed, 14 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..441fc92b9a4ed 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml @@ -16,10 +16,19 @@ description: allOf: - $ref: touchscreen.yaml# + - if: + properties: + compatible: + const: st,stmfts5 + then: + required: + - mode-switch-gpios properties: compatible: - const: st,stmfts + enum: + - st,stmfts + - st,stmfts5 reg: maxItems: 1 @@ -40,6 +49,10 @@ properties: vdd-supply: description: Power supply + mode-switch-gpios: + description: Switch between touchscreen SLPI and AP mode. + maxItems: 1 + reset-gpios: description: Reset GPIO (active-low) maxItems: 1 -- 2.53.0

