Skip to content

Commit 500b420

Browse files
krzkrobherring
authored andcommitted
dt-bindings: timer: narrow regex for unit address to hex numbers
Regular expression used to match the unit address part should not allow non-hex numbers. Expect at least one hex digit as well. 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 6fad9df commit 500b420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ properties:
6060
be implemented in an always-on power domain."
6161

6262
patternProperties:
63-
'^frame@[0-9a-z]*$':
63+
'^frame@[0-9a-f]+$':
6464
type: object
6565
additionalProperties: false
6666
description: A timer node has up to 8 frame sub-nodes, each with the following properties.

0 commit comments

Comments
 (0)