linux/drivers/watchdog
Anton Vorontsov 0d7b101404 [WATCHDOG] mpc8xxx_wdt: add support for MPC8xx watchdogs
The mpc8xxx_wdt driver is using two registers: SWSRR to push magic
numbers, and SWCRR to control the watchdog.  Both registers are available
on the MPC8xx, and seem to have the same offsets and semantics as in
MPC83xx/MPC86xx watchdogs.  The only difference is prescale value.  So
this driver simply works on the MPC8xx CPUs.

One quirk is needed for the MPC8xx, though.  It has small prescale value
and slow CPU, so the watchdog resets board prior to the driver has time to
load.  To solve this we should split initialization in two steps: start
ping the watchdog early, and register the watchdog userspace interface
later.

MPC823 seem to be the first CPU in MPC8xx line, so we use fsl,mpc823-wdt
compatible matching.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Tested-by: Jochen Friedrich <jochen@scram.de>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2008-08-06 13:08:47 +00:00
..
acquirewdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
advantechwdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
alim1535_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
alim7101_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
ar7_wdt.c ar7_wdt watchdog driver: Fix locking 2008-08-04 17:12:07 -07:00
at32ap700x_wdt.c [WATCHDOG 05/57] atp watchdog 2008-05-27 15:26:40 +00:00
at91rm9200_wdt.c [WATCHDOG 06/57] at91: watchdog to unlocked_ioctl 2008-05-27 15:26:44 +00:00
bfin_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
booke_wdt.c [WATCHDOG] Merge code clean-up's from Alan Cox. 2008-08-06 11:58:26 +00:00
cpu5wdt.c [WATCHDOG 07/57] cpu5_wdt: switch to unlocked_ioctl 2008-05-27 15:26:47 +00:00
davinci_wdt.c [WATCHDOG 08/57] davinci_wdt: unlocked_ioctl and check locking 2008-05-27 15:26:52 +00:00
ep93xx_wdt.c [WATCHDOG 09/57] ep93xx_wdt: unlocked_ioctl 2008-05-27 15:26:54 +00:00
eurotechwdt.c [WATCHDOG 10/57] eurotechwdt: unlocked_ioctl, code lock check and tidy 2008-05-27 15:31:40 +00:00
geodewdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
hpwdt.c [WATCHDOG] hpwdt.c - fix double includes 2008-08-06 12:31:52 +00:00
i6300esb.c [WATCHDOG 13/57] i6300esb: Style, unlocked_ioctl, cleanup 2008-05-27 18:46:59 +00:00
ib700wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
ibmasr.c [WATCHDOG 14/57] ibmasr: coding style, locking verify 2008-05-27 20:18:14 +00:00
indydog.c [WATCHDOG 15/57] indydog: Clean up and tidy 2008-05-27 20:22:29 +00:00
iop_wdt.c [WATCHDOG 16/57] iop: watchdog switch to unlocked_ioctl 2008-05-27 20:26:17 +00:00
it8712f_wdt.c it8712f_wdt: Locking and coding style 2008-08-04 17:12:07 -07:00
iTCO_vendor_support.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
iTCO_vendor.h [WATCHDOG 18/57] iTCO: unlocked_ioctl, coding style and cleanup 2008-05-28 11:51:32 +00:00
iTCO_wdt.c [WATCHDOG 18/57] iTCO: unlocked_ioctl, coding style and cleanup 2008-05-28 11:51:32 +00:00
ixp4xx_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
ixp2000_wdt.c [WATCHDOG 21/57] ixp2000_wdt: clean up and unlocked_ioctl 2008-06-13 18:57:01 +00:00
Kconfig [WATCHDOG] mpc8xxx_wdt: add support for MPC8xx watchdogs 2008-08-06 13:08:47 +00:00
ks8695_wdt.c [WATCHDOG 23/57] ks8695_wdt: clean up, coding style, unlocked_ioctl 2008-06-13 19:14:19 +00:00
machzwd.c [WATCHDOG 24/57] machzwd: clean up, coding style, unlocked_ioctl 2008-06-13 19:25:38 +00:00
Makefile [WATCHDOG] mpc83xx_wdt: rename to mpc8xxx_wdt 2008-08-06 13:06:25 +00:00
mixcomwd.c [WATCHDOG 25/57] mixcomwd: coding style locking, unlocked_ioctl 2008-06-13 19:35:42 +00:00
mpc8xx_wdt.c [WATCHDOG 26/57] mpc watchdog: clean up and locking 2008-06-13 19:44:39 +00:00
mpc8xxx_wdt.c [WATCHDOG] mpc8xxx_wdt: add support for MPC8xx watchdogs 2008-08-06 13:08:47 +00:00
mpc5200_wdt.c powerpc/mpc5200_wdt: use linux/of_platform.h instead of asm 2008-07-12 12:10:53 -06:00
mpcore_wdt.c [WATCHDOG 27/57] mpcore watchdog: unlocked_ioctl and BKl work 2008-06-13 19:51:55 +00:00
mtx-1_wdt.c [WATCHDOG 28/57] mtx-1_wdt: clean up, coding style, unlocked ioctl 2008-06-13 19:58:05 +00:00
mv64x60_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
omap_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
omap_wdt.h mv watchdog tree under drivers 2007-10-18 10:39:03 +00:00
pc87413_wdt.c [WATCHDOG 31/57] pc87413_wdt: clean up, coding style, unlocked_ioctl 2008-06-13 20:14:03 +00:00
pcwd_pci.c [WATCHDOG] pcwd: a couple of watchdogs escaped conversion 2008-08-06 13:03:11 +00:00
pcwd_usb.c [WATCHDOG] pcwd: a couple of watchdogs escaped conversion 2008-08-06 13:03:11 +00:00
pcwd.c [WATCHDOG 32/57] pcwd: clean up, unlocked_ioctl usage 2008-06-13 20:21:19 +00:00
pnx4008_wdt.c [WATCHDOG] Clean-up includes 2008-08-06 13:02:16 +00:00
rm9k_wdt.c [WATCHDOG 34/57] rm9k_wdt: clean up 2008-06-21 14:01:31 +00:00
s3c2410_wdt.c s3c2410_wdt watchdog driver: Locking and coding style 2008-08-04 17:12:07 -07:00
sa1100_wdt.c [WATCHDOG 36/57] sa1100_wdt: Switch to unlocked_ioctl 2008-06-21 14:22:30 +00:00
sb_wdog.c [WATCHDOG 41/57] sb_wdog: Clean up and switch to unlocked_ioctl 2008-06-21 14:57:12 +00:00
sbc60xxwdt.c [WATCHDOG 37/57] sbc60xxwdt: clean up and switch to unlocked_ioctl 2008-06-21 14:24:34 +00:00
sbc7240_wdt.c [WATCHDOG 38/57] stg7240_wdt: unlocked_ioctl 2008-06-21 14:39:38 +00:00
sbc8360.c [WATCHDOG 39/57] sbc8360: clean up 2008-06-21 14:42:05 +00:00
sbc_epx_c3.c [WATCHDOG 40/57] sbc_epx_c3_wdt: switch to unlocked_ioctl 2008-06-21 14:46:05 +00:00
sc520_wdt.c [WATCHDOG 44/57] scx200_wdt: clean up and switch to unlocked_ioctl 2008-06-21 15:35:02 +00:00
sc1200wdt.c sc1200 watchdog driver: Fix locking, sems and coding style 2008-08-04 17:12:08 -07:00
scx200_wdt.c [WATCHDOG 44/57] scx200_wdt: clean up and switch to unlocked_ioctl 2008-06-21 15:35:02 +00:00
shwdt.c [WATCHDOG 45/57] shwdt: coding style, cleanup, switch to unlocked_ioctl 2008-06-21 15:37:26 +00:00
smsc37b787_wdt.c [WATCHDOG 46/57] smsc37b787_wdt: coding style, switch to unlocked_ioctl 2008-06-21 15:39:12 +00:00
softdog.c [WATCHDOG 47/57] softdog: clean up, coding style and switch to unlocked_ioctl 2008-06-21 15:40:42 +00:00
txx9wdt.c [WATCHDOG 48/57] txx9: Fix locking, switch to unlocked_ioctl 2008-06-21 16:15:57 +00:00
w83627hf_wdt.c [WATCHDOG 49/57] w83627hf: coding style, clean up and switch to unlocked_ioctl 2008-06-21 16:17:43 +00:00
w83697hf_wdt.c [WATCHDOG 50/57] w83697hf_wdt: cleanup, coding style and switch to unlocked_ioctl 2008-06-21 19:53:43 +00:00
w83877f_wdt.c [WATCHDOG 51/57] w83877f_wdt: clean up code, coding style, switch to unlocked_ioctl 2008-06-21 19:55:51 +00:00
w83977f_wdt.c [WATCHDOG 52/57] w83977f_wdt: clean up, coding style and switch to unlocked_ioctl 2008-06-21 19:57:08 +00:00
wafer5823wdt.c [WATCHDOG 53/57] wafer5823wdt: Clean up, coding style, switch to unlocked_ioctl 2008-06-21 19:59:31 +00:00
wd501p.h mv watchdog tree under drivers 2007-10-18 10:39:03 +00:00
wdrtas.c [WATCHDOG 54/57] wdrtas: clean up, coding style, switch to unlocked_ioctl 2008-06-21 20:02:25 +00:00
wdt285.c [WATCHDOG 55/57] wdt285: switch to unlocked_ioctl and tidy up oddments of coding style 2008-06-21 20:04:09 +00:00
wdt977.c [WATCHDOG 56/57] wdt977: clean up, coding style and switch to unlocked_ioctl 2008-06-21 20:07:12 +00:00
wdt_pci.c alpha: Fix breakage in wdt_pci 2008-08-04 17:12:07 -07:00
wdt.c wdt: Cleanup and sort out locking and inb_p 2008-08-04 17:12:07 -07:00