Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mux: Remove nodename pattern constraints

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>

authored by

Tommaso Merciai and committed by
Rob Herring (Arm)
54e417f2 60477d78

-6
-6
Documentation/devicetree/bindings/mux/mux-controller.yaml
··· 63 63 64 64 select: 65 65 anyOf: 66 - - properties: 67 - $nodename: 68 - pattern: '^mux-controller' 69 66 - required: 70 67 - '#mux-control-cells' 71 68 - required: 72 69 - '#mux-state-cells' 73 70 74 71 properties: 75 - $nodename: 76 - pattern: '^mux-controller(@.*|-([0-9]|[1-9][0-9]+))?$' 77 - 78 72 '#mux-control-cells': 79 73 enum: [ 0, 1 ] 80 74