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 <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 9117a64 commit 6fad9df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)