forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://www.linux-watchdog.org/linux-watchdog
Pull watchdog updates from Wim Van Sebroeck: "This contains: - fixes and improvements - devicetree bindings - conversion to watchdog generic framework of the following drivers: - booke_wdt - bcm47xx_wdt.c - at91sam9_wdt - Removal of old STMP3xxx driver - Addition of following new drivers: - new driver for STMP3xxx and i.MX23/28 - Retu watchdog driver" * git://www.linux-watchdog.org/linux-watchdog: (30 commits) watchdog: sp805_wdt depends on ARM watchdog: davinci_wdt: update to devm_* API watchdog: davinci_wdt: use devm managed clk get watchdog: at91rm9200: add DT support watchdog: add timeout-sec property binding watchdog: at91sam9_wdt: Convert to use the watchdog framework watchdog: omap_wdt: Add option nowayout watchdog: core: dt: add support for the timeout-sec dt property watchdog: bcm47xx_wdt.c: add hard timer watchdog: bcm47xx_wdt.c: rename wdt_time to timeout watchdog: bcm47xx_wdt.c: rename ops methods watchdog: bcm47xx_wdt.c: use platform device watchdog: bcm47xx_wdt.c: convert to watchdog core api watchdog: Convert BookE watchdog driver to watchdog infrastructure watchdog: s3c2410_wdt: Use devm_* functions watchdog: remove old STMP3xxx driver watchdog: add new driver for STMP3xxx and i.MX23/28 rtc: stmp3xxx: add wdt-accessor function watchdog: introduce retu_wdt driver watchdog: intel_scu_watchdog: fix Kconfig dependency ...
- Loading branch information
Showing
31 changed files
with
888 additions
and
856 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Documentation/devicetree/bindings/watchdog/atmel-at91rm9200-wdt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Atmel AT91RM9200 System Timer Watchdog | ||
|
||
Required properties: | ||
- compatible: must be "atmel,at91sam9260-wdt". | ||
|
||
Example: | ||
watchdog@fffffd00 { | ||
compatible = "atmel,at91rm9200-wdt"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Documentation/devicetree/bindings/watchdog/qca-ar7130-wdt.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
* Qualcomm Atheros AR7130 Watchdog Timer (WDT) Controller | ||
|
||
Required properties: | ||
- compatible: must be "qca,ar7130-wdt" | ||
- reg: physical base address of the controller and length of memory mapped | ||
region. | ||
|
||
Example: | ||
|
||
wdt@18060008 { | ||
compatible = "qca,ar9330-wdt", "qca,ar7130-wdt"; | ||
reg = <0x18060008 0x8>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The Linux WatchDog Timer Driver Core kernel API. | ||
=============================================== | ||
Last reviewed: 22-May-2012 | ||
Last reviewed: 12-Feb-2013 | ||
|
||
Wim Van Sebroeck <[email protected]> | ||
|
||
|
@@ -212,3 +212,15 @@ driver specific data to and a pointer to the data itself. | |
The watchdog_get_drvdata function allows you to retrieve driver specific data. | ||
The argument of this function is the watchdog device where you want to retrieve | ||
data from. The function returns the pointer to the driver specific data. | ||
|
||
To initialize the timeout field, the following function can be used: | ||
|
||
extern int watchdog_init_timeout(struct watchdog_device *wdd, | ||
unsigned int timeout_parm, struct device *dev); | ||
|
||
The watchdog_init_timeout function allows you to initialize the timeout field | ||
using the module timeout parameter or by retrieving the timeout-sec property from | ||
the device tree (if the module timeout parameter is invalid). Best practice is | ||
to set the default timeout value as timeout value in the watchdog_device and | ||
then use this function to set the user "preferred" timeout value. | ||
This routine returns zero on success and a negative errno code for failure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.