Skip to content

GPIO WDT "start-at-boot" property

Francesco Zanella linux-devicetree linux-watchdog lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: watchdog: gpio-wdt: add "start-at-boot"Documentation/devicetree/bindings/watchdog/gpio-wdt.txt+7 -02 replies
2/2watchdog: gpio_wdt: add "start-at-boot" featuredrivers/watchdog/gpio_wdt.c+5 -16 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] GPIO WDT "start-at-boot" property

I propose to add a new property to GPIO WDT device tree binding "start-at-boot".
If this property is present, start pinging hw watchdog at probe, in order to take advantage of kernel configs:
- WATCHDOG_HANDLE_BOOT_ENABLED: Avoid possible reboot if hw watchdog was been enabled before the kernel (by uboot for example) and userspace doesn't take control of /dev/watchdog in time;
- WATCHDOG_OPEN_TIMEOUT: Reboot if userspace doesn't take control of /dev/watchdog within the timeout.

Francesco Zanella (2):
dt-bindings: watchdog: gpio-wdt: add "start-at-boot"
watchdog: gpio_wdt: add "start-at-boot" feature

 Documentation/devicetree/bindings/watchdog/gpio-wdt.txt | 7 +++++++
 drivers/watchdog/gpio_wdt.c                             | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1