wdt: Support wdt on ROHM BD9576MUF and BD9573MUF
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 10 Mar 2021 08:08:36 +0000 (10:08 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 10 Mar 2021 10:58:44 +0000 (10:58 +0000)
commitb237bcac557ac30a4064863f582e06073248392a
treef004361b4f27473735bf38f5563816cacd6e6fb0
parent0e9692607f94ecc59aedc0ecfd2348124c743412
wdt: Support wdt on ROHM BD9576MUF and BD9573MUF

Add Watchdog support for ROHM BD9576MUF and BD9573MUF PMICs which are
mainly used to power the R-Car series processors. The watchdog is
pinged using a GPIO and enabled using another GPIO. Additionally
watchdog time-out can be configured to HW prior starting the watchdog.
Watchdog timeout can be configured to detect only delayed ping or in
a window mode where also too fast pings are detected.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/bd9576_wdt.c [new file with mode: 0644]