mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
dt-bindings: watchdog: Restrict timeout-sec to one number
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> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
parent
babe81b061
commit
0917135963
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user