lkml.org 
[lkml]   [2022]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] dt-bindings: watchdog: faraday: Fix typo in example 'timeout-sec' property
From
On 5/25/22 18:41, Rob Herring wrote:
> The 'unevaluatedProperties' schema checks is not fully working and doesn't
> catch some cases where there's a $ref to another schema. A fix is pending,
> but results in new warnings in examples.
>
> The correct common watchdog property is 'timeout-sec', not 'timeout-secs'.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

Good find.

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

> ---
> .../devicetree/bindings/watchdog/faraday,ftwdt010.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml b/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml
> index ca9e1beff76b..6ecd429f76b5 100644
> --- a/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml
> @@ -55,7 +55,7 @@ examples:
> compatible = "faraday,ftwdt010";
> reg = <0x41000000 0x1000>;
> interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
> - timeout-secs = <5>;
> + timeout-sec = <5>;
> };
> - |
> watchdog: watchdog@98500000 {

\
 
 \ /
  Last update: 2022-05-26 04:24    [W:0.749 / U:1.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site