diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-01-09 11:25:11 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2024-02-05 19:32:20 +0300 |
commit | 281dc6c69b0ef3e30781451e141628618152a8c0 (patch) | |
tree | 387eb9d597d29fdb97beb79afc3179701ba46743 /Documentation/devicetree/bindings/mux | |
parent | d4d8fbcef03f590288b44955d8d51e334627b013 (diff) | |
download | linux-281dc6c69b0ef3e30781451e141628618152a8c0.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mux')
-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 ] |