Skip to content

Commit

Permalink
dt-bindings: input: zinitix: Document touch-keys support
Browse files Browse the repository at this point in the history
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: Rob Herring <robh@kernel.org>
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20240717-zinitix-tkey-v5-1-52ea4cd4bd50@trvn.ru
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
TravMurav authored and dtor committed Jul 19, 2024
1 parent 240801c commit 1dbd1ab
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ maintainers:

allOf:
- $ref: touchscreen.yaml#
- $ref: ../input.yaml#

properties:
$nodename:
Expand Down Expand Up @@ -79,6 +80,15 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 2]

linux,keycodes:
description:
This property specifies an array of keycodes assigned to the
touch-keys that can be present in some touchscreen configurations.
If the touch-keys are enabled, controller firmware will assign some
touch sense lines to those keys.
minItems: 1
maxItems: 8

touchscreen-size-x: true
touchscreen-size-y: true
touchscreen-fuzz-x: true
Expand Down

0 comments on commit 1dbd1ab

Please sign in to comment.