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

dt-bindings: input: iqs269a: Add bindings for OTP variants

This patch adds bindings for the D0 order code of the device. This
order code represents an OTP variant that enables a touch-and-hold
function in place of slider 1.

Also included is the ability to specify the 00 order code (default
option with no OTP customization) explicitly.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/ZZMaW9RkQ9bKXOUn@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jeff LaBundy and committed by
Dmitry Torokhov
56c083e3 00521a9b

+29 -1
+29 -1
Documentation/devicetree/bindings/input/iqs269a.yaml
··· 20 20 21 21 properties: 22 22 compatible: 23 - const: azoteq,iqs269a 23 + enum: 24 + - azoteq,iqs269a 25 + - azoteq,iqs269a-00 26 + - azoteq,iqs269a-d0 24 27 25 28 reg: 26 29 maxItems: 1 ··· 209 206 enum: [0, 1, 2, 3] 210 207 default: 1 211 208 description: Specifies the slider coordinate filter strength. 209 + 210 + azoteq,touch-hold-ms: 211 + multipleOf: 256 212 + minimum: 256 213 + maximum: 65280 214 + default: 5120 215 + description: 216 + Specifies the length of time (in ms) for which the channel selected by 217 + 'azoteq,gpio3-select' must be held in a state of touch in order for an 218 + approximately 60-ms pulse to be asserted on the GPIO4 pin. 212 219 213 220 linux,keycodes: 214 221 minItems: 1 ··· 526 513 - reg 527 514 528 515 additionalProperties: false 516 + 517 + if: 518 + properties: 519 + compatible: 520 + contains: 521 + enum: 522 + - azoteq,iqs269a-d0 523 + then: 524 + patternProperties: 525 + "^channel@[0-7]$": 526 + properties: 527 + azoteq,slider1-select: false 528 + else: 529 + properties: 530 + azoteq,touch-hold-ms: false 529 531 530 532 required: 531 533 - compatible