]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5f8bbeacf5e0f3a540bbf4cf4d412b0c007eece8
tree631cd42c3bc92e9182cc74893edefcb266c8e51a
parentf2dd789a8278c40a8d466f9f1433416451ca54ae
[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]