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 <robh@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240325104833.33372-2-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 6fad9df commit 500b420

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)