watchdog: add stm32 watchdog and reset driver
The driver supports setting watchdog timeout, system reset
and querying reset reason. Disabling watchdog isn't possible
in hardware, thus users should either only enable it before
boot or have the poller take care of feeding it.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bf8973f commit 2714dadbfe2ec60f40008955208d956373875427
@Ahmad Fatoum Ahmad Fatoum authored on 17 Jun 2019
Sascha Hauer committed on 19 Jun 2019
Showing 3 changed files
View
drivers/watchdog/Kconfig
View
drivers/watchdog/Makefile
View
drivers/watchdog/stm32_iwdg.c 0 → 100644