summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2022-07-09 21:47:13 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-07-11 15:32:00 -0700
commit39636805cab2d46aa645f389f3fca8040afd4c4f (patch)
tree6902c0f6c9ab6049b4a31f0dfcde56ceb44b7c0a
parent94c8e8664ab6f781b2ba1258c3bb389131f5ebb4 (diff)
downloadlinux-39636805cab2d46aa645f389f3fca8040afd4c4f.tar.bz2
dt-bindings: input: iqs7222: Use central 'linux,code' definition
Channel events adopt the newly centralized 'linux,code' property; slider events should too. Fixes: 8ac14d2c2d81 ("dt-bindings: input: Centralize 'linux,code' definition") Signed-off-by: Jeff LaBundy <jeff@labundy.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220710024713.17275-1-jeff@labundy.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml
index aa41fa3bde7a..02e605fac408 100644
--- a/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml
+++ b/Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml
@@ -566,14 +566,13 @@ patternProperties:
patternProperties:
"^event-(press|tap|(swipe|flick)-(pos|neg))$":
type: object
+ $ref: input.yaml#
description:
Represents a press or gesture (IQS7222A only) event reported by
the slider.
properties:
- linux,code:
- $ref: /schemas/types.yaml#/definitions/uint32
- description: Numeric key code associated with the event.
+ linux,code: true
azoteq,gesture-max-ms:
multipleOf: 4