summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorArtur Weber <aweber.kernel@gmail.com>2023-07-19 08:15:32 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-07-19 08:21:11 +0200
commit21c133be0266b4e7aaf184175d61f5b1824a8769 (patch)
tree0a5866cc133f85510fa1c8ed94819ad276d17e92 /Documentation/devicetree
parentInput: da9063 - add wakeup support (diff)
downloadlinux-21c133be0266b4e7aaf184175d61f5b1824a8769.tar.xz
linux-21c133be0266b4e7aaf184175d61f5b1824a8769.zip
dt-bindings: mms114: Add linux,keycodes property for touch keys
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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml b/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml
index fdd02898e249..07f9dd6b1c9c 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/melfas,mms114.yaml
@@ -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: