dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
authorRob Herring (Arm) <robh@kernel.org>
Fri, 1 Nov 2024 21:13:03 +0000 (16:13 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 5 Nov 2024 05:46:41 +0000 (21:46 -0800)
The user and driver both indicate this property is a boolean, not int32.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20241101211304.20886-1-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/rotary-encoder.yaml

index e315aab..f9332bb 100644 (file)
@@ -41,7 +41,7 @@ properties:
       device, hence no steps need to be passed.
 
   rotary-encoder,rollover:
-    $ref: /schemas/types.yaml#/definitions/int32
+    $ref: /schemas/types.yaml#/definitions/flag
     description:
       Automatic rollover when the rotary value becomes
       greater than the specified steps or smaller than 0. For absolute axis only.