summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/omap-wdt.txt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-04-27 11:22:59 +0200
committerWim Van Sebroeck <wim@iguana.be>2015-06-22 15:54:04 +0200
commita4f741e3e157c3a5c8aea5f2ea62b692fbf17338 (patch)
treecacaeb4946388a9c55a0b50542f7cffc5267c565 /Documentation/devicetree/bindings/watchdog/omap-wdt.txt
parentwatchdog: omap: clearify device tree documentation (diff)
downloadlinux-a4f741e3e157c3a5c8aea5f2ea62b692fbf17338.tar.xz
linux-a4f741e3e157c3a5c8aea5f2ea62b692fbf17338.zip
watchdog: omap: use watchdog_init_timeout instead of open coding it
Instead of (partly) open coding watchdog_init_timeout to determine the inital timeout use the core function that exists for exactly this purpose. As a side effect the "timeout-sec" device-tree property is recognized now (though currently unused in the omap device trees). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog/omap-wdt.txt')
-rw-r--r--Documentation/devicetree/bindings/watchdog/omap-wdt.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/omap-wdt.txt b/Documentation/devicetree/bindings/watchdog/omap-wdt.txt
index 597e19d18dca..1fa20e453a2d 100644
--- a/Documentation/devicetree/bindings/watchdog/omap-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/omap-wdt.txt
@@ -4,6 +4,9 @@ Required properties:
- compatible : "ti,omap3-wdt" for OMAP3 or "ti,omap4-wdt" for OMAP4
- ti,hwmods : Name of the hwmod associated to the WDT
+Optional properties:
+- timeout-sec : default watchdog timeout in seconds
+
Examples:
wdt2: wdt@4a314000 {