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) <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent e1325e1 commit cca257f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)