[PATCH v6 1/2] dt-bindings: input: touchscreen: msg2638: Document keys support

From: Vincent Knecht
Date: Wed Nov 16 2022 - 16:17:12 EST


Document optional linux,keycodes support.

Acked-by: Rob Herring <robh@xxxxxxxxxx>
Signed-off-by: Vincent Knecht <vincent.knecht@xxxxxxxxxx>
---
.../devicetree/bindings/input/touchscreen/mstar,msg2638.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml b/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml
index 2fb7e01bb65a..af4f954de958 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/mstar,msg2638.yaml
@@ -36,6 +36,10 @@ properties:
touchscreen-size-x: true
touchscreen-size-y: true

+ linux,keycodes:
+ minItems: 1
+ maxItems: 4
+
additionalProperties: false

required:
--
2.38.1