From: Krzysztof Kozlowski Date: Tue, 30 May 2023 14:48:50 +0000 (+0200) Subject: dt-bindings: timestamp: restrict node name suffixes X-Git-Tag: v6.5-rc1~46^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0ac3504960616c973e65c0a4e5488ad8de60d1c;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: timestamp: restrict node name suffixes Make the pattern matching node names a bit stricter to improve DTS consistency. The pattern is restricted to -N suffixes to decimal numbers. Suggested-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Reviewed-by: Tony Lindgren Acked-by: Rob Herring Acked-by: Uwe Kleine-König Reviewed-by: Conor Dooley Link: https://lore.kernel.org/r/20230530144851.92059-7-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring --- diff --git a/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml b/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml index fd6a7b51f571b..95f42acd0c54f 100644 --- a/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml +++ b/Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml @@ -17,7 +17,7 @@ description: properties: $nodename: - pattern: "^timestamp(@.*|-[0-9a-f])?$" + pattern: "^timestamp(@.*|-([0-9]|[1-9][0-9]+))?$" "#timestamp-cells": description: