mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
	Matti Vaittinen <mazziesaccount@gmail.com>
Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Timothy Pearson <tpearson@raptorengineering.com>
Subject: Re: [PATCH 1/3] dt-bindings: watchdog: Restrict timeout-sec to one number
Date: Mon, 20 Oct 2025 11:27:27 -0700	[thread overview]
Message-ID: <aa552c02-b8f0-42ea-8075-415d193f8cb3@roeck-us.net> (raw)
In-Reply-To: <20251020-dt-bindings-watchdog-timeout-v1-1-d0f3235eb327@linaro.org>

On 10/20/25 09:52, Krzysztof Kozlowski wrote:
> Linux kernel expects only one number for the watchdog timeout and the
> type is an array (defined in property-units.yaml in DT schema), so
> restrict the property.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   Documentation/devicetree/bindings/watchdog/watchdog.yaml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> index f0a584af1223..be0327f587eb 100644
> --- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> @@ -24,6 +24,7 @@ properties:
>       pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
>   
>     timeout-sec:
> +    maxItems: 1
>       description:
>         Contains the watchdog timeout in seconds.
>   
> 


  reply	other threads:[~2025-10-20 18:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-20 16:52 [PATCH 0/3] mfd/watchdog: dt-bindings: Reference watchdog schema in rohm,bd96801-pmic Krzysztof Kozlowski
2025-10-20 16:52 ` [PATCH 1/3] dt-bindings: watchdog: Restrict timeout-sec to one number Krzysztof Kozlowski
2025-10-20 18:27   ` Guenter Roeck [this message]
2025-10-26 21:32   ` Rob Herring (Arm)
2025-10-20 16:52 ` [PATCH 2/3] dt-bindings: watchdog: Allow node names named 'pmic' Krzysztof Kozlowski
2025-10-20 18:28   ` Guenter Roeck
2025-10-26 21:33   ` Rob Herring (Arm)
2025-10-20 16:52 ` [PATCH 3/3] dt-bindings: mfd: rohm,bd96801-pmic: Correct timeout-sec length and reference watchdog schema Krzysztof Kozlowski
2025-10-20 18:29   ` Guenter Roeck
2025-10-23  5:41   ` Matti Vaittinen
2025-10-26 21:37   ` Rob Herring (Arm)
2025-11-06 14:40   ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa552c02-b8f0-42ea-8075-415d193f8cb3@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=mazziesaccount@gmail.com \
    --cc=robh@kernel.org \
    --cc=tpearson@raptorengineering.com \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®