07 Mar, 2010
1 commit
-
make the watchdog_info struct const where possible.
Signed-off-by: Wim Van Sebroeck
02 Dec, 2009
2 commits
-
This patch fixes the compilation failure of
rc32434 due to a bad module parameter description.Signed-off-by: Florian Fainelli
Signed-off-by: Wim Van Sebroeck -
The size value passed to ioremap_nocache() is not correct.
Use resource_size() to get the correct value.Signed-off-by: H Hartley Sweeten
Cc: Phil Sutter
Signed-off-by: Wim Van Sebroeck
25 Mar, 2009
6 commits
-
Fix following warnings:
WARNING: struct file_operations should normally be constSigned-off-by: Wim Van Sebroeck
-
Make sure that the watchdog is not running after loading
and before it is started by opening /dev/watchdog.Signed-off-by: Wim Van Sebroeck
-
Add spin_locks to prevent races.
Signed-off-by: Wim Van Sebroeck
-
Add shutdown method to the platform driver.
Signed-off-by: Wim Van Sebroeck
-
The WDT timer ticks quite fast (half of the CPU clock speed, which may
be between 198MHz and 330MHz (or 400MHz on newer boards)). Given it's
size of 32Bit, the maximum timeout value ranges from about 21s to 43s,
depending on the configured CPU clock speed.This patch add's the timeout module parameter and checks that it's not
bigger then the maximum timeout for the given clock speed.Signed-off-by: Phil Sutter
Signed-off-by: Wim Van Sebroeck -
Clean-up the rc32434 driver code:
- name the platform driver rc32434_wdt_driver
- Replace KBUILD_MODNAME ": " with PFX define.
- Cleanup include files
- Order the ioctl'sSigned-off-by: Phil Sutter
Signed-off-by: Wim Van Sebroeck
24 Feb, 2009
2 commits
-
Fix init and exit sections.
Signed-off-by: Phil Sutter
Signed-off-by: Wim Van Sebroeck
Cc: stable -
The existing driver code wasn't working. Neither the timeout was set
correctly, nor system reset was being triggered, as the driver seemed
to keep the WDT alive himself. There was also some unnecessary code.Signed-off-by: Phil Sutter
Signed-off-by: Wim Van Sebroeck
Cc: stable
29 Oct, 2008
1 commit
-
Signed-off-by: Alan Cox
Signed-off-by: Wim Van Sebroeck
23 Sep, 2008
1 commit
-
Fix some drivers so that they use the unlocked_ioctl call.
Signed-off-by: Wim Van Sebroeck
27 Aug, 2008
1 commit
-
Add driver for the IDT RC32434 SoC built-in watchdog.
Signed-off-by: Florian Fainelli
Signed-off-by: Wim Van Sebroeck