[PATCH] i.MX watchdog support
Sascha Hauer
s.hauer at pengutronix.de
Fri Oct 5 06:29:57 EDT 2012
The following adds support for the i.MX watchdog unit. The device
is registered on all i.MX SoCs and finally used as the reset source
for i.MX. This replaces the non-driver based reset_cpu function.
----------------------------------------------------------------
Sascha Hauer (3):
watchdog: Add i.MX watchdog support
ARM i.MX: Add watchdog devices to SoCs
ARM i.MX/watchdog: Make i.MX watchdog driver the reset source on i.MX
arch/arm/Kconfig | 1 +
arch/arm/mach-imx/clocksource.c | 37 -------
arch/arm/mach-imx/imx1.c | 1 +
arch/arm/mach-imx/imx21.c | 1 +
arch/arm/mach-imx/imx25.c | 1 +
arch/arm/mach-imx/imx27.c | 1 +
arch/arm/mach-imx/imx31.c | 1 +
arch/arm/mach-imx/imx35.c | 1 +
arch/arm/mach-imx/imx51.c | 1 +
arch/arm/mach-imx/imx53.c | 1 +
arch/arm/mach-imx/imx6.c | 1 +
drivers/watchdog/Kconfig | 9 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/imxwd.c | 201 +++++++++++++++++++++++++++++++++++++++
14 files changed, 221 insertions(+), 37 deletions(-)
create mode 100644 drivers/watchdog/imxwd.c
More information about the barebox
mailing list