[PATCH v8 2/5] dt-bindings: input: touchscreen: st,stmfts: Improve example

From: David Heidelberg via B4 Relay

Date: Fri Sep 25 2026 - 17:23:27 EST


From: David Heidelberg <david@xxxxxxx>

The touchscreen-size-{x,y} is exact number, the -1 deduction is done on
driver side.

Example now use interrupts-extended and size obviously not deducted by
one.

Signed-off-by: David Heidelberg <david@xxxxxxx>
---
Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml
index 64c4f24ea3dd0..6eb1ad6582d82 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.yaml
@@ -59,18 +59,17 @@ examples:

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>;
+ interrupts-extended = <&gpa1 1 IRQ_TYPE_LEVEL_LOW>;
+ touchscreen-size-x = <1600>;
+ touchscreen-size-y = <2560>;
touch-key-connected;
avdd-supply = <&ldo30_reg>;
vdd-supply = <&ldo31_reg>;
ledvdd-supply = <&ldo33_reg>;
};
};

--
2.55.0