From: Artur Weber Date: Wed, 19 Jul 2023 06:15:32 +0000 (-0700) Subject: dt-bindings: mms114: Add linux,keycodes property for touch keys X-Git-Tag: v6.6.7~1735^2~8^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21c133be0266b4e7aaf184175d61f5b1824a8769;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Artur Weber Link: https://lore.kernel.org/r/20230714100424.29798-2-aweber.kernel@gmail.com Signed-off-by: Dmitry Torokhov --- 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: