diff options
author | André Apitzsch <[email protected]> | 2023-05-01 20:16:37 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-05-01 20:22:07 -0700 |
commit | 272a26186a587430e8649058c91eab43c39857dd (patch) | |
tree | 35aea6c647499fb481e82702fc7afffc9aff9d5b | |
parent | 7b9c13dd4d0ebbe89dfd7e1ecd09696037622101 (diff) |
dt-bindings: input: atmel,maxtouch: add linux,keycodes
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.
Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: André Apitzsch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/input/atmel,maxtouch.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
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: | |