watchdog: Integrate watchdog triggering into the cyclic framework
authorStefan Roese <sr@denx.de>
Thu, 18 Aug 2022 11:22:46 +0000 (13:22 +0200)
committerStefan Roese <sr@denx.de>
Sun, 18 Sep 2022 08:26:04 +0000 (10:26 +0200)
commitc2fd0ca1a8226903e6e00f970c58f23742d6a418
treeafec965947a5b85ef729eca44c8317eb4954c238
parentd219fc06b30d4b1ac4fac6c40b2ca69cb5ecf642
watchdog: Integrate watchdog triggering into the cyclic framework

This patch integrates the watchdog triggering into the recently added
cyclic infrastructure. Each watchdog device that shall be triggered
registers it's own cyclic function. This way, multiple watchdog devices
are still supported, each via a cyclic function with separate trigger
intervals.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Tom Rini <trini@konsulko.com> [am335x_evm, mx6cuboxi, rpi_3,dra7xx_evm, pine64_plus, am65x_evm, j721e_evm]
drivers/watchdog/Kconfig
drivers/watchdog/wdt-uclass.c