Skip to content

Commit cca257f

Browse files
robherringdtor
authored andcommitted
dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
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>
1 parent e1325e1 commit cca257f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/devicetree/bindings/input/rotary-encoder.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ properties:
4141
device, hence no steps need to be passed.
4242

4343
rotary-encoder,rollover:
44-
$ref: /schemas/types.yaml#/definitions/int32
44+
$ref: /schemas/types.yaml#/definitions/flag
4545
description:
4646
Automatic rollover when the rotary value becomes
4747
greater than the specified steps or smaller than 0. For absolute axis only.

0 commit comments

Comments
 (0)