[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2aaba5d8-37ad-4086-a81d-0d3e78cf5664@roeck-us.net>
Date: Tue, 30 May 2023 10:47:11 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Mark Brown <broonie@...nel.org>,
Dipen Patel <dipenp@...dia.com>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Dilip Kota <eswara.kota@...ux.intel.com>,
linux-phy@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pwm@...r.kernel.org,
linux-rtc@...r.kernel.org, alsa-devel@...a-project.org,
linux-spi@...r.kernel.org, timestamp@...ts.linux.dev,
linux-watchdog@...r.kernel.org, Rob Herring <robh@...nel.org>,
Tony Lindgren <tony@...mide.com>,
Oleksij Rempel <o.rempel@...gutronix.de>
Subject: Re: [PATCH 7/7] dt-bindings: watchdog: restrict node name suffixes
On Tue, May 30, 2023 at 04:48:51PM +0200, Krzysztof Kozlowski wrote:
> 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 <robh@...nel.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Reviewed-by: Guenter Roeck <linux@...ck-us.net>
>
> ---
>
> Cc: Tony Lindgren <tony@...mide.com>
> Cc: Oleksij Rempel <o.rempel@...gutronix.de>
> ---
> Documentation/devicetree/bindings/watchdog/watchdog.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> index 519b48889eb1..f0a584af1223 100644
> --- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> @@ -17,11 +17,11 @@ description: |
> select:
> properties:
> $nodename:
> - pattern: "^watchdog(@.*|-[0-9a-f])?$"
> + pattern: "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$"
>
> properties:
> $nodename:
> - pattern: "^(timer|watchdog)(@.*|-[0-9a-f])?$"
> + pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
>
> timeout-sec:
> description:
> --
> 2.34.1
>
Powered by blists - more mailing lists