[PATCH v5 01/22] dt-bindings: mux: Remove nodename pattern constraints
Tommaso Merciai
tommaso.merciai.xr at bp.renesas.com
Thu Nov 27 03:48:28 PST 2025
The nodename pattern in created an unnecessary restriction that forced
all mux nodes to be named with the 'mux-controller' prefix.
This prevented valid use cases where mux functionality is part of other
hardware blocks that should use more specific naming conventions.
Remove the $nodename pattern constraints from both the 'select' keyword
and the properties section of the mux-controller schema.
Reviewed-by: Conor Dooley <conor.dooley at microchip.com>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr at bp.renesas.com>
---
v4->v5:
- Added Reviewed-by tag from Conor Dooley.
v3->v4:
- New patch.
Documentation/devicetree/bindings/mux/mux-controller.yaml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/mux/mux-controller.yaml b/Documentation/devicetree/bindings/mux/mux-controller.yaml
index 78340bbe4df6..6defb9da10f7 100644
--- a/Documentation/devicetree/bindings/mux/mux-controller.yaml
+++ b/Documentation/devicetree/bindings/mux/mux-controller.yaml
@@ -63,18 +63,12 @@ description: |
select:
anyOf:
- - properties:
- $nodename:
- pattern: '^mux-controller'
- required:
- '#mux-control-cells'
- required:
- '#mux-state-cells'
properties:
- $nodename:
- pattern: '^mux-controller(@.*|-([0-9]|[1-9][0-9]+))?$'
-
'#mux-control-cells':
enum: [ 0, 1 ]
--
2.43.0
More information about the linux-phy
mailing list