[PATCH RFC v2 2/5] dt-bindings: input: melfas-mip4: document linux,keycodes property
From: Kaustabh Chakraborty
Date: Thu Jun 12 2025 - 15:42:26 EST
Document the linux,keycodes property. The property values are key codes
which are used in input key events generated by the touchkey device.
Signed-off-by: Kaustabh Chakraborty <kauschluss@xxxxxxxxxxx>
---
.../devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml b/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
index 5532d46f85a235127e2b3513846259aa7372bda5..6d5e0f4b062f44f83484eccd82353d6f150f9d8f 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/melfas,mip4_ts.yaml
@@ -29,6 +29,11 @@ properties:
ce-gpios:
description: GPIO connected to the CE (chip enable) pin of the chip
+ linux,keycodes:
+ description: Array of keycodes to be reported by touchkeys
+ minItems: 1
+ maxItems: 4
+
additionalProperties: false
required:
@@ -49,6 +54,7 @@ examples:
interrupt-parent = <&gpio>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+ linux,keycodes = <KEY_MENU>, <KEY_BACK>;
};
};
--
2.49.0