]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: add new driver for STMP3xxx and i.MX23/28
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 27 Sep 2011 20:35:40 +0000 (22:35 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 1 Mar 2013 11:44:34 +0000 (12:44 +0100)
commitc435e8e96fe9a521ea7b7b964a4dd06d4aaf2df5
tree50ca0ccc0d2dabc3a846b83d515be080bce1c136
parent20780086caf03599d4a095b3355cebbc460fb4bb
watchdog: add new driver for STMP3xxx and i.MX23/28

Replace the existing STMP3xxx driver because it has enough drawbacks
that a rewrite is apropriate. The new driver is designed to use the
watchdog framework which makes it a lot smaller and avoids open coding
the watchdog API again. It also uses now an explicitly exported function
from the RTC driver to set up its registers (the old driver silently
reused the hopefully(!) already remapped RTC registers). Also, this
driver is mach independent, while the old one depends on a mach replaced
by another one a year ago. Since the user interface is still the
standard watchdog API, users don't need to adapt.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/stmp3xxx_rtc_wdt.c [new file with mode: 0644]