linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: input: atmel,maxtouch: add linux,keycodes
@ 2023-02-27 20:50 André Apitzsch
  2023-02-27 20:50 ` [PATCH 2/2] Input: atmel_mxt_ts - support capacitive keys André Apitzsch
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: André Apitzsch @ 2023-02-27 20:50 UTC (permalink / raw)
  To: Nick Dyer, Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Linus Walleij,
	linux-input, devicetree, linux-arm-kernel, linux-kernel
  Cc: ~postmarketos/upstreaming, André Apitzsch

In some configurations the touch controller can support the touch keys.
Document the linux,keycodes property that enables those keys and
specifies the keycodes that should be used to report the key events.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
 .../devicetree/bindings/input/atmel,maxtouch.yaml          | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml
index 3ec579d63570..c40799355ed7 100644
--- a/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml
+++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.yaml
@@ -14,6 +14,9 @@ description: |
   Atmel maXTouch touchscreen or touchpads such as the mXT244
   and similar devices.
 
+allOf:
+  - $ref: input.yaml#
+
 properties:
   compatible:
     const: atmel,maxtouch
@@ -60,6 +63,10 @@ properties:
       or experiment to determine which bit corresponds to which input. Use
       KEY_RESERVED for unused padding values.
 
+  linux,keycodes:
+    minItems: 1
+    maxItems: 8
+
   atmel,wakeup-method:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: |

base-commit: 982818426a0ffaf93b0621826ed39a84be3d7d62
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-03-25 10:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27 20:50 [PATCH 1/2] dt-bindings: input: atmel,maxtouch: add linux,keycodes André Apitzsch
2023-02-27 20:50 ` [PATCH 2/2] Input: atmel_mxt_ts - support capacitive keys André Apitzsch
2023-03-06 22:54   ` Linus Walleij
2023-03-07  8:57   ` Claudiu.Beznea
2023-02-28  8:18 ` [PATCH 1/2] dt-bindings: input: atmel,maxtouch: add linux,keycodes Krzysztof Kozlowski
2023-03-06 14:19 ` Linus Walleij
2023-03-25 10:37 ` André Apitzsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).