[PATCH v3 2/6] Documentation: DT: Add optional 'timeout-sec' property for sp805
From: linux@roeck-us.net (Guenter Roeck)
Date: 2018-05-24 16:16:34
Also in:
linux-devicetree, linux-watchdog, lkml
From: linux@roeck-us.net (Guenter Roeck)
Date: 2018-05-24 16:16:34
Also in:
linux-devicetree, linux-watchdog, lkml
On Wed, May 23, 2018 at 05:15:20PM -0700, Ray Jui wrote:
Update the SP805 binding document to add optional 'timeout-sec' devicetree property Signed-off-by: Ray Jui <redacted> --- Documentation/devicetree/bindings/watchdog/arm,sp805.txt | 2 ++ 1 file changed, 2 insertions(+)diff --git a/Documentation/devicetree/bindings/watchdog/arm,sp805.txt b/Documentation/devicetree/bindings/watchdog/arm,sp805.txt index 0fa3629..1debea3 100644 --- a/Documentation/devicetree/bindings/watchdog/arm,sp805.txt +++ b/Documentation/devicetree/bindings/watchdog/arm,sp805.txt@@ -19,6 +19,8 @@ Required properties: Optional properties: - interrupts: Should specify WDT interrupt number +- timeout-sec: Should specify default WDT timeout in seconds. If unset, the + default timeout in the driver is 30 seconds
"... the default timeout is determined by the driver" might be better. If you want to mandate a default here (not sure if that is a good idea), I would suggest to use something like "should be 30 seconds". Guenter
Example:
watchdog at 66090000 {
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html