dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
Subsystems (3)
Rob Herring (Arm)
maintainerPATCH 1/1 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]>
--- Documentation/devicetree/bindings/input/rotary-encoder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/input/rotary-encoder.yaml +1 -1
@@ -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.
Signature · 1 line
2.45.2
Quoted 6 lines · Rob Herring (Arm)
The user and driver both indicate this property is a boolean, not int32.
Signed-off-by Rob Herring (Arm) <[email protected]>--- Documentation/devicetree/bindings/input/rotary-encoder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 3 lines · Rob Herring (Arm)
The user and driver both indicate this property is a boolean, not int32.
Signed-off-by Rob Herring (Arm) <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry