diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-01-09 09:25:11 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2024-02-05 17:32:20 +0100 |
commit | 281dc6c69b0ef3e30781451e141628618152a8c0 (patch) | |
tree | 387eb9d597d29fdb97beb79afc3179701ba46743 | |
parent | dt-bindings: misc: xlnx,sd-fec: convert bindings to yaml (diff) | |
download | linux-281dc6c69b0ef3e30781451e141628618152a8c0.tar.xz linux-281dc6c69b0ef3e30781451e141628618152a8c0.zip |
dt-bindings: mux: restrict node name suffixes
Make the pattern matching node names a bit stricter to improve DTS
consistency. The pattern is restricted to -N suffixes to decimal
numbers.
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20240109082511.15278-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/mux/mux-controller.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mux/mux-controller.yaml b/Documentation/devicetree/bindings/mux/mux-controller.yaml index 8b943082a241..571ad9e13ecf 100644 --- a/Documentation/devicetree/bindings/mux/mux-controller.yaml +++ b/Documentation/devicetree/bindings/mux/mux-controller.yaml @@ -74,7 +74,7 @@ select: properties: $nodename: - pattern: '^mux-controller(@.*|-[0-9a-f]+)?$' + pattern: '^mux-controller(@.*|-([0-9]|[1-9][0-9]+))?$' '#mux-control-cells': enum: [ 0, 1 ] |