Skip to content

Commit 6fad9df

Browse files
krzkrobherring
authored andcommitted
dt-bindings: soc: fsl: narrow regex for unit address to hex numbers
Regular expression used to match the unit address part should not allow non-hex numbers. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240325104833.33372-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 9117a64 commit 6fad9df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ properties:
5151
ranges: true
5252

5353
patternProperties:
54-
"^clock-controller@[0-9a-z]+$":
54+
"^clock-controller@[0-9a-f]+$":
5555
$ref: /schemas/clock/fsl,flexspi-clock.yaml#
5656

5757
required:

Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-scfg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ properties:
4141
ranges: true
4242

4343
patternProperties:
44-
"^interrupt-controller@[a-z0-9]+$":
44+
"^interrupt-controller@[a-f0-9]+$":
4545
$ref: /schemas/interrupt-controller/fsl,ls-extirq.yaml#
4646

4747
required:

0 commit comments

Comments
 (0)