Skip to content

Commit

Permalink
dt-bindings: soc: fsl: narrow regex for unit address to hex numbers
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
krzk authored and robherring committed Apr 3, 2024
1 parent 9117a64 commit 6fad9df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ properties:
ranges: true

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

required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ properties:
ranges: true

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

required:
Expand Down

0 comments on commit 6fad9df

Please sign in to comment.