[PATCH v3 1/4] dt-bindings: input: touchscreen: hynitron,cst816x: axes and panel
From: Daniel Golle
Date: Sun Oct 04 2026 - 05:36:51 EST
The chip hands out coordinates in its own frame and knows nothing of
the panel it is glued to, so how it is oriented against that panel,
which coordinate range the assembly reports and how noisy it is are
properties of the board. Reference touchscreen.yaml and let its
properties through, among them the 'panel' phandle naming the panel a
controller is mounted on, which asks for the two to be power sequenced
together.
Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---
v3: describe the whole of touchscreen.yaml with unevaluatedProperties
v2:
- allow the min, size and fuzz properties as well (Sashiko AI review)
- allow the 'panel' phandle
- justify the change in the commit message (Conor Dooley)
.../bindings/input/touchscreen/hynitron,cst816x.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml
index 72d4da636881e..72b1bbff6e57b 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml
@@ -41,7 +41,10 @@ required:
- reg
- interrupts
-additionalProperties: false
+unevaluatedProperties: false
+
+allOf:
+ - $ref: touchscreen.yaml#
examples:
- |
@@ -59,6 +62,7 @@ examples:
reset-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
linux,keycodes = <KEY_UP>, <KEY_DOWN>, <KEY_LEFT>, <KEY_RIGHT>,
<BTN_TOOL_TRIPLETAP>;
+ touchscreen-swapped-x-y;
};
};
--
2.56.0