]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: mux: Remove nodename pattern constraints
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Thu, 29 Jan 2026 16:48:48 +0000 (17:48 +0100)
committerRob Herring (Arm) <robh@kernel.org>
Thu, 5 Mar 2026 02:36:57 +0000 (20:36 -0600)
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@microchip.com>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/dbe73c0777eca61cf14442f4082caae62b61805a.1769703480.git.tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/mux/mux-controller.yaml

index 78340bbe4df62854fe0055966bc5f9e86cc82ad8..6defb9da10f7e4c43b18b8a847dd1417a44592dc 100644 (file)
@@ -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 ]