Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Krzysztof Kozlowski and committed by
Wim Van Sebroeck
09171359 babe81b0

+1
+1
Documentation/devicetree/bindings/watchdog/watchdog.yaml
··· 24 24 pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$" 25 25 26 26 timeout-sec: 27 + maxItems: 1 27 28 description: 28 29 Contains the watchdog timeout in seconds. 29 30