mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
2783670583
This is a companion to u-boot,noautostart. If one has a single watchdog device that one does want to have auto-started, but several others that one doesn't, the only way currently is to set the CONFIG_WATCHDOG_AUTOSTART and then use the opt-out for the majority. The main motivation for this is to add an autostarted watchdog device to the sandbox (to test a fix) without having to set AUTOSTART in sandbox_defconfig and add the noautostart property to the existing devices. But it's also nice for symmetry, and the logic in init_watchdog_dev() becomes simpler to read because we avoid all the negations. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
13 lines
683 B
Text
13 lines
683 B
Text
Common watchdog properties.
|
|
|
|
Optional properties:
|
|
- timeout-sec : Timeout of the watchdog in seconds
|
|
If this timeout is not defined, the value of WATCHDOG_TIMEOUT_MSECS will
|
|
be used instead.
|
|
- hw_margin_ms : Period used to reset the watchdog in ms
|
|
If this period is not defined, the default value is 1000.
|
|
- u-boot,noautostart :
|
|
- u-boot,autostart : These (mutually exclusive) boolean properties can be used to control
|
|
whether the watchdog is automatically started when probed. If neither
|
|
are present, the behaviour is determined by the config option
|
|
WATCHDOG_AUTOSTART.
|