summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/stpmic1_wdt.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/watchdog'Sascha Hauer2019-11-071-1/+0
|\
| * watchdog: remove wrong uses of timeout_curAhmad Fatoum2019-10-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | The barebox watchdog poller uses the struct watchdog.timeout_cur as the timeout value to configure the watchdog with. There's no need for the device driver to set this. I didn't know that when I wrote the drivers, but I do now, hence this commit. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mfd: stpmic1: use dev_get_regmap instead of priv memberAhmad Fatoum2019-11-061-1/+4
|/ | | | | | | | | When we call regmap_init, the regmap is associated with the device supplied and can be queried with dev_get_regmap. This is more natural than expecting cell drivers to cast dev->parent->priv. Do it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* watchdog: add support for STPMIC1 integrated watchdogAhmad Fatoum2019-09-091-0/+223
The driver adds support for the PMIC's watchdog, reset, poweroff and reset reason query capabilities. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>