Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: zinitix: Document touch-keys support

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>

authored by

Nikita Travkin and committed by
Dmitry Torokhov
1dbd1ab5 240801c5

+10
+10
Documentation/devicetree/bindings/input/touchscreen/zinitix,bt400.yaml
··· 16 16 17 17 allOf: 18 18 - $ref: touchscreen.yaml# 19 + - $ref: ../input.yaml# 19 20 20 21 properties: 21 22 $nodename: ··· 79 78 1 and 2. Mode 2 is the default and preferred. 80 79 $ref: /schemas/types.yaml#/definitions/uint32 81 80 enum: [1, 2] 81 + 82 + linux,keycodes: 83 + description: 84 + This property specifies an array of keycodes assigned to the 85 + touch-keys that can be present in some touchscreen configurations. 86 + If the touch-keys are enabled, controller firmware will assign some 87 + touch sense lines to those keys. 88 + minItems: 1 89 + maxItems: 8 82 90 83 91 touchscreen-size-x: true 84 92 touchscreen-size-y: true