Home
last modified time | relevance | path

Searched hist:"749 c9aae" (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/watchdog/
H A Dmpc8xx_wdt.c749c9aae 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 DKconfig749c9aae 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>