summaryrefslogtreecommitdiff
path: root/drivers/watchdog/bd9576_wdt.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-10wdt: Support wdt on ROHM BD9576MUF and BD9573MUFMatti Vaittinen1-0/+291
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>