Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mux: reg-mux: Allow zero-cell controls
@ 2026-09-21 23:26 Rob Herring (Arm)
  2026-09-22 18:02 ` Conor Dooley
  2026-09-24 13:31 ` Rob Herring (Arm)
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-09-21 23:26 UTC (permalink / raw)
  To: Peter Rosin, Krzysztof Kozlowski, Conor Dooley; +Cc: devicetree, linux-kernel

Some reg-mux users reference a controller without an argument cell
when there is only one mux control exposed by the provider.

Permit #mux-control-cells to be either 0 or 1 so the converted schema
matches both existing provider styles.

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

diff --git a/Documentation/devicetree/bindings/mux/reg-mux.yaml b/Documentation/devicetree/bindings/mux/reg-mux.yaml
index dc4be092fc2f..c8de11a90d90 100644
--- a/Documentation/devicetree/bindings/mux/reg-mux.yaml
+++ b/Documentation/devicetree/bindings/mux/reg-mux.yaml
@@ -22,7 +22,7 @@ properties:
   reg: true
 
   '#mux-control-cells':
-    const: 1
+    enum: [ 0, 1 ]
 
   mux-reg-masks:
     $ref: /schemas/types.yaml#/definitions/uint32-matrix
-- 
2.53.0


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

* Re: [PATCH] dt-bindings: mux: reg-mux: Allow zero-cell controls
  2026-09-21 23:26 [PATCH] dt-bindings: mux: reg-mux: Allow zero-cell controls Rob Herring (Arm)
@ 2026-09-22 18:02 ` Conor Dooley
  2026-09-24 13:31 ` Rob Herring (Arm)
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2026-09-22 18:02 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Peter Rosin, Krzysztof Kozlowski, Conor Dooley, devicetree,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

Acked-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] dt-bindings: mux: reg-mux: Allow zero-cell controls
  2026-09-21 23:26 [PATCH] dt-bindings: mux: reg-mux: Allow zero-cell controls Rob Herring (Arm)
  2026-09-22 18:02 ` Conor Dooley
@ 2026-09-24 13:31 ` Rob Herring (Arm)
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-09-24 13:31 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Peter Rosin, Krzysztof Kozlowski, linux-kernel, Conor Dooley,
	devicetree


On Mon, 21 Sep 2026 18:26:16 -0500, Rob Herring (Arm) wrote:
> Some reg-mux users reference a controller without an argument cell
> when there is only one mux control exposed by the provider.
> 
> Permit #mux-control-cells to be either 0 or 1 so the converted schema
> matches both existing provider styles.
> 
> Assisted-by: LLM
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/mux/reg-mux.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!


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

end of thread, other threads:[~2026-09-24 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-21 23:26 [PATCH] dt-bindings: mux: reg-mux: Allow zero-cell controls Rob Herring (Arm)
2026-09-22 18:02 ` Conor Dooley
2026-09-24 13:31 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox