remarkable-linux/drivers/watchdog
Chris Friesen dcfb748422 [WATCHDOG] fix book E watchdog to take WDIOC_SETTIMEOUT arg in seconds
The WDIOC_SETTIMEOUT argument is supposed to be a "seconds" value.
However, the book E wdt currently treats it as a "period" which is
interpreted in a board-specific way.

This patch allows the user to pass in a "seconds" value and the driver
will set the smallest timeout that is at least as large as specified
by the user.  It's been tested on e500 hardware and works as
expected.

The patch only modifies the CONFIG_FSL_BOOKE case, the CONFIG_4xx case
is left unmodified as I don't have any hardware to test it on.

Signed-off-by: Chris Friesen <cfriesen@nortel.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2009-09-18 08:37:21 +00:00
..
acquirewdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
advantechwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
alim1535_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
alim7101_wdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
ar7_wdt.c [WATCHDOG] ar7_wdt: fix path to ar7-specific headers 2009-08-15 13:05:01 +00:00
at32ap700x_wdt.c
at91rm9200_wdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
at91sam9_wdt.c [WATCHDOG] Correct WDIOF_MAGICCLOSE flag 2009-06-18 07:30:57 +00:00
bcm47xx_wdt.c [WATCHDOG] drivers/watchdog/bcm47xx_wdt.c: Remove unnecessary semicolons 2009-07-09 18:29:06 +00:00
bfin_wdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
booke_wdt.c [WATCHDOG] fix book E watchdog to take WDIOC_SETTIMEOUT arg in seconds 2009-09-18 08:37:21 +00:00
coh901327_wdt.c [WATCHDOG] Use DIV_ROUND_UP() macro in the coh901327 WDT 2009-09-18 08:36:33 +00:00
cpu5wdt.c
cpwd.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
davinci_wdt.c [WATCHDOG] davinci: use clock framework for timer frequency 2009-09-18 08:37:01 +00:00
ep93xx_wdt.c [ARM] 5606/1: Fix ep93xx watchdog driver headers 2009-07-17 13:33:25 +01:00
eurotechwdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
gef_wdt.c
geodewdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
hpwdt.c [WATCHDOG] hpwdt: Add NMI priority option 2009-06-23 07:13:45 +00:00
i6300esb.c [WATCHDOG] i6300esb.c: Restructure initialization of the device 2009-04-08 06:06:50 +00:00
ib700wdt.c
ibmasr.c
indydog.c [WATCHDOG] Correct WDIOF_MAGICCLOSE flag 2009-06-18 07:30:57 +00:00
iop_wdt.c trivial: typo (en|dis|avail|remove)bale -> (en|dis|avail|remove)able 2009-06-12 18:01:45 +02:00
it87_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
it8712f_wdt.c [WATCHDOG] Correct WDIOF_MAGICCLOSE flag 2009-06-18 07:30:57 +00:00
iTCO_vendor.h
iTCO_vendor_support.c [WATCHDOG] iTCO_wdt: Fix ICH7+ reboot issue. 2009-06-18 07:31:58 +00:00
iTCO_wdt.c [WATCHDOG] iTCO_wdt: fix memory corruption when RCBA is disabled by hardware 2009-06-18 07:31:44 +00:00
ixp4xx_wdt.c
ixp2000_wdt.c
Kconfig [WATCHDOG] Add support for WM831x watchdog 2009-09-18 08:35:49 +00:00
ks8695_wdt.c ARM: 5637/1: [KS8695] Don't reference CLOCK_TICK_RATE in drivers 2009-08-05 22:06:56 +01:00
machzwd.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
Makefile [WATCHDOG] Add support for WM831x watchdog 2009-09-18 08:35:49 +00:00
mixcomwd.c
mpc8xxx_wdt.c
mpc5200_wdt.c powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function 2009-06-17 00:30:22 -06:00
mpcore_wdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
mtx-1_wdt.c [WATCHDOG] move platform probe and remove function to devinit and devexit 2009-06-18 07:30:44 +00:00
mv64x60_wdt.c
nuc900_wdt.c [WATCHDOG] Add watchdog driver for NUC900 2009-09-18 08:35:07 +00:00
omap_wdt.c [WATCHDOG] OMAP fixes: enable clock in probe, trigger timer reload 2009-06-23 07:13:36 +00:00
omap_wdt.h
orion_wdt.c [ARM] Orion/Kirkwood: rename orion5x_wdt to orion_wdt 2009-06-08 13:05:00 -04:00
pc87413_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd_pci.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pcwd_usb.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
pika_wdt.c
pnx833x_wdt.c [WATCHDOG] Add pnx833x_wdt 2009-06-20 18:37:20 +00:00
pnx4008_wdt.c [WATCHDOG] move platform probe and remove function to devinit and devexit 2009-06-18 07:30:44 +00:00
rc32434_wdt.c [WATCHDOG] struct file_operations should be const 2009-03-25 09:06:18 +00:00
rdc321x_wdt.c [WATCHDOG] move platform probe and remove function to devinit and devexit 2009-06-18 07:30:44 +00:00
riowd.c [WATCHDOG] Fix io.h & uaccess.h includes. 2009-03-25 09:07:34 +00:00
rm9k_wdt.c [WATCHDOG] move platform probe and remove function to devinit and devexit 2009-06-18 07:30:44 +00:00
s3c2410_wdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
sa1100_wdt.c [WATCHDOG] SA1100 watchdog maximum timeout 2009-07-09 18:29:38 +00:00
sb_wdog.c [WATCHDOG] Correct WDIOF_MAGICCLOSE flag 2009-06-18 07:30:57 +00:00
sbc60xxwdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
sbc7240_wdt.c
sbc8360.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
sbc_epx_c3.c [WATCHDOG] Correct WDIOF_MAGICCLOSE flag 2009-06-18 07:30:57 +00:00
sbc_fitpc2_wdt.c [WATCHDOG] add SBC-FITPC2 watchdog driver 2009-09-18 08:34:56 +00:00
sc520_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sc1200wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
sch311x_wdt.c
scx200_wdt.c [WATCHDOG] Correct WDIOF_MAGICCLOSE flag 2009-06-18 07:30:57 +00:00
shwdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
smsc37b787_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
softdog.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
stmp3xxx_wdt.c [WATCHDOG] Freescale STMP: watchdog driver 2009-06-20 18:40:32 +00:00
twl4030_wdt.c [WATCHDOG] twl4030 watchdog driver 2009-06-20 18:39:43 +00:00
txx9wdt.c
w83627hf_wdt.c [WATCHDOG] w83627hf_wdt.c: add support for the W83627EHF support 2009-07-09 18:29:45 +00:00
w83697hf_wdt.c [WATCHDOG] Some more general cleanup 2009-06-18 07:30:30 +00:00
w83697ug_wdt.c [WATCHDOG] w83697ug, fix lock imbalance 2009-07-09 18:29:16 +00:00
w83877f_wdt.c
w83977f_wdt.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wafer5823wdt.c
wd501p.h [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wdrtas.c powerpc/rtas: Fix watchdog driver temperature read functionality 2009-06-26 16:55:37 +10:00
wdt.c [WATCHDOG] wdt.c: remove #ifdef CONFIG_WDT_501 2009-03-25 09:08:16 +00:00
wdt285.c
wdt977.c [WATCHDOG] More coding-style and trivial clean-up 2009-03-25 09:07:04 +00:00
wdt_pci.c [WATCHDOG] wdt_pci.c: remove #ifdef CONFIG_WDT_501_PCI 2009-06-23 07:13:52 +00:00
wm831x_wdt.c [WATCHDOG] Add support for WM831x watchdog 2009-09-18 08:35:49 +00:00
wm8350_wdt.c