Skip to contentSkip to conversation

dt-bindings: input: iqs7222: Use central 'linux,code' definition

PATCH Applied Jeff LaBundy 3 participants 3 messages Jul 10, 2022 – Jul 11, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml +2 -3
index aa41fa3bde7a..02e605fac408 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jeff LaBundy

Channel events adopt the newly centralized 'linux,code' property; slider events should too.

Fixes 8ac14d2c2d81 ("dt-bindings: input: Centralize 'linux,code' definition")
---
 Documentation/devicetree/bindings/input/azoteq,iqs7222.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)