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

dt-bindings: input: syna,rmi4: Document F1A function

In some configurations the touch controller can support 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>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250707-rmi4_f1a-v1-1-838d83c72e7f@apitzsch.eu
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

André Apitzsch and committed by
Dmitry Torokhov
0da89595 a9c95d17

+20
+20
Documentation/devicetree/bindings/input/syna,rmi4.yaml
··· 89 89 required: 90 90 - reg 91 91 92 + rmi4-f1a@1a: 93 + type: object 94 + additionalProperties: false 95 + $ref: input.yaml# 96 + description: 97 + RMI4 Function 1A is for capacitive keys. 98 + 99 + properties: 100 + reg: 101 + maxItems: 1 102 + 103 + linux,keycodes: 104 + minItems: 1 105 + maxItems: 4 106 + 107 + required: 108 + - reg 109 + 92 110 patternProperties: 93 111 "^rmi4-f1[12]@1[12]$": 94 112 type: object ··· 219 201 220 202 examples: 221 203 - | 204 + #include <dt-bindings/input/linux-event-codes.h> 222 205 #include <dt-bindings/interrupt-controller/irq.h> 223 206 224 207 i2c { ··· 253 234 254 235 rmi4-f1a@1a { 255 236 reg = <0x1a>; 237 + linux,keycodes = <KEY_BACK KEY_HOME KEY_MENU>; 256 238 }; 257 239 }; 258 240 };