linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
@ 2024-11-01 21:13 Rob Herring (Arm)
  2024-11-03 10:19 ` Krzysztof Kozlowski
  2024-11-05  5:46 ` Dmitry Torokhov
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-11-01 21:13 UTC (permalink / raw)
  To: Dmitry Torokhov, Krzysztof Kozlowski, Conor Dooley, Frank Li
  Cc: linux-input, devicetree, linux-kernel

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(-)

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.
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
  2024-11-01 21:13 [PATCH] dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type Rob Herring (Arm)
@ 2024-11-03 10:19 ` Krzysztof Kozlowski
  2024-11-05  5:46 ` Dmitry Torokhov
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-11-03 10:19 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Dmitry Torokhov, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	linux-input, devicetree, linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type
  2024-11-01 21:13 [PATCH] dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type Rob Herring (Arm)
  2024-11-03 10:19 ` Krzysztof Kozlowski
@ 2024-11-05  5:46 ` Dmitry Torokhov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2024-11-05  5:46 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Krzysztof Kozlowski, Conor Dooley, Frank Li, linux-input,
	devicetree, linux-kernel

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>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-05  5:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-01 21:13 [PATCH] dt-bindings: input: rotary-encoder: Fix "rotary-encoder,rollover" type Rob Herring (Arm)
2024-11-03 10:19 ` Krzysztof Kozlowski
2024-11-05  5:46 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).