dt-bindings: mux: reg-mux: Allow zero-cell controls
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: mux: reg-mux: Allow zero-cell controls
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) <[email protected]>
--- Documentation/devicetree/bindings/mux/reg-mux.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mux/reg-mux.yaml +1 -1
@@ -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
Signature · 1 line
2.53.0
Acked-by Conor Dooley <[email protected]>
Quoted 12 lines · Rob Herring (Arm)
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 LLMSigned-off-by Rob Herring (Arm) <[email protected]>--- Documentation/devicetree/bindings/mux/reg-mux.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks!