dt-bindings: mms114: Add linux,keycodes property for touch keys
authorArtur Weber <aweber.kernel@gmail.com>
Wed, 19 Jul 2023 06:15:32 +0000 (23:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 Jul 2023 06:21:11 +0000 (23:21 -0700)
MELFAS MMS114 and similar touchscreens have support for touch keys.
Add the linux,keycodes property which can be used to set up the
keycodes for the touch keys.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Link: https://lore.kernel.org/r/20230714100424.29798-2-aweber.kernel@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml

index fdd02898e2492543bcf3233c31f5feba558843a5..07f9dd6b1c9c44af761bb0cd4de9f3f201f940e0 100644 (file)
@@ -52,6 +52,11 @@ properties:
   touchscreen-swapped-x-y: true
   touchscreen-max-pressure: true
 
+  linux,keycodes:
+    description: Keycodes for the touch keys
+    minItems: 1
+    maxItems: 15
+
 additionalProperties: false
 
 required: