u-boot/arch/sandbox
Paul Doelle 1fc45d6483 watchdog: add pulse support to gpio watchdog driver
A common external watchdog circuit is kept alive by triggering a short
pulse on the reset pin. This patch adds support for this use case, while
making the algorithm configurable in the devicetree.

The "linux,wdt-gpio" driver being modified is based off the equivalent
driver in the Linux kernel, which provides support for this algorithm.
This patch brings parity to this driver, and is kept aligned with
the functionality and devicetree configuration in the kernel.

It should be noted that this adds a required property named 'hw_algo'
to the devicetree binding, following suit with the kernel. I'm happy to
make this backward-compatible if preferred.

Signed-off-by: Paul Doelle <paaull.git@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2022-07-21 08:09:06 +02:00
..
cpu sandbox: show error if the device-tree cannot be loaded 2022-06-28 03:09:51 +01:00
dts watchdog: add pulse support to gpio watchdog driver 2022-07-21 08:09:06 +02:00
include/asm Merge branch 'next' 2022-07-11 14:58:57 -04:00
lib sandbox: Rename EFI runtime sections 2022-06-23 12:58:18 -04:00
config.mk sandbox: Add libfuzzer integration 2022-06-23 12:58:18 -04:00
Kconfig sandbox: raise SANDBOX_RAM_SIZE_MB default to 256 2022-06-28 03:09:51 +01:00
Makefile sandbox: fix build failure with musl and SDL 2022-02-09 12:26:12 -07:00