[WATCHDOG] add bcm47xx watchdog driver
authormatthieu castet <castet.matthieu@free.fr>
Fri, 5 Jun 2009 16:57:18 +0000 (18:57 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 20 Jun 2009 18:40:56 +0000 (18:40 +0000)
commit90074dce5537e87b27125505bb89a373567a7ede
tree631cd42c3bc92e9182cc74893edefcb266c8e51a
parentaccde1684ff1ea607557fb7224d2dd57775117e1
[WATCHDOG] add bcm47xx watchdog driver

This add watchdog driver for broadcom 47xx device.
It uses the ssb subsytem to access embeded watchdog device.

Because the watchdog timeout is very short (about 2s), a soft timer is used
to increase the watchdog period.

Note : A patch for exporting the ssb_watchdog_timer_set will
be submitted on next linux-mips merge. Without this patch it can't
be build as a module.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Tested-by: Florian Fainelli <florian@openwrt.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/bcm47xx_wdt.c [new file with mode: 0644]