[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210421162621.24910-1-francesco.zanella@vimar.com>
Date: Wed, 21 Apr 2021 18:26:19 +0200
From: Francesco Zanella <francesco.zanella@...ar.com>
To: linux-watchdog@...r.kernel.org, wim@...ux-watchdog.org,
linux@...ck-us.net
Cc: devicetree@...r.kernel.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org,
Francesco Zanella <francesco.zanella@...ar.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists