2023-05-21 15:14:50

by Artur Weber

[permalink] [raw]
Subject: [PATCH 1/2] 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.

Signed-off-by: Artur Weber <[email protected]>
---
.../devicetree/bindings/input/touchscreen/melfas,mms114.yaml | 5 +++++
1 file changed, 5 insertions(+)

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:
--
2.40.1



2023-05-22 12:26:41

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: mms114: Add linux,keycodes property for touch keys

On Sun, May 21, 2023 at 04:58:42PM +0200, Artur Weber wrote:
> 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.
>
> Signed-off-by: Artur Weber <[email protected]>

Acked-by: Conor Dooley <[email protected]>

Thanks,
Conor.

> ---
> .../devicetree/bindings/input/touchscreen/melfas,mms114.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> 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:
> --
> 2.40.1
>


Attachments:
(No filename) (1.13 kB)
signature.asc (235.00 B)
Download all attachments