Skip to content

Commit 3963680

Browse files
jlabundydtor
authored andcommitted
dt-bindings: input: iqs7222: Use central 'linux,code' definition
Channel events adopt the newly centralized 'linux,code' property; slider events should too. Fixes: 8ac14d2 ("dt-bindings: input: Centralize 'linux,code' definition") Signed-off-by: Jeff LaBundy <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 94c8e86 commit 3963680

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,14 +566,13 @@ patternProperties:
566566
patternProperties:
567567
"^event-(press|tap|(swipe|flick)-(pos|neg))$":
568568
type: object
569+
$ref: input.yaml#
569570
description:
570571
Represents a press or gesture (IQS7222A only) event reported by
571572
the slider.
572573

573574
properties:
574-
linux,code:
575-
$ref: /schemas/types.yaml#/definitions/uint32
576-
description: Numeric key code associated with the event.
575+
linux,code: true
577576

578577
azoteq,gesture-max-ms:
579578
multipleOf: 4

0 commit comments

Comments
 (0)