Searched hist:"749 c9aae9d59c5f15832b51a75f8959c25316ab1" (Results 1 – 2 of 2) sorted by relevance
| /openbmc/u-boot/drivers/watchdog/ |
| H A D | mpc8xx_wdt.c | 749c9aae9d59c5f15832b51a75f8959c25316ab1 Wed Nov 21 02:51:45 CST 2018 Christophe Leroy <christophe.leroy@c-s.fr> drivers: watchdog: add a DM driver for the MPC8xx watchdog
This patch adds a DM driver for the MPC8xx watchdog. Basically, the watchdog is enabled by default from the start and SYPCR register has to be writen once to set the timeout and/or deactivate the watchdog. Once written, it cannot be written again.
It means that wdt_stop() can be called before wdt_start() to stop the watchdog, but cannot be called if wdt_start() has been called.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
|
| H A D | Kconfig | 749c9aae9d59c5f15832b51a75f8959c25316ab1 Wed Nov 21 02:51:45 CST 2018 Christophe Leroy <christophe.leroy@c-s.fr> drivers: watchdog: add a DM driver for the MPC8xx watchdog
This patch adds a DM driver for the MPC8xx watchdog. Basically, the watchdog is enabled by default from the start and SYPCR register has to be writen once to set the timeout and/or deactivate the watchdog. Once written, it cannot be written again.
It means that wdt_stop() can be called before wdt_start() to stop the watchdog, but cannot be called if wdt_start() has been called.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
|