diff mbox series

dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type

Message ID 20241101211304.20886-1-robh@kernel.org
State New
Headers show
Series dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type | expand

Commit Message

Rob Herring (Arm) Nov. 1, 2024, 9:13 p.m. UTC
The user and driver both indicate this property is a boolean, not int32.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/input/rotary-encoder.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Nov. 3, 2024, 10:19 a.m. UTC | #1
On Fri, Nov 01, 2024 at 04:13:03PM -0500, Rob Herring (Arm) wrote:
> The user and driver both indicate this property is a boolean, not int32.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/input/rotary-encoder.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/input/rotary-encoder.yaml b/Documentation/devicetree/bindings/input/rotary-encoder.yaml
index e315aab7f584..f9332bb2343f 100644
--- a/Documentation/devicetree/bindings/input/rotary-encoder.yaml
+++ b/Documentation/devicetree/bindings/input/rotary-encoder.yaml
@@ -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.