[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409841592-18890-5-git-send-email-lee.jones@linaro.org>
Date: Thu, 4 Sep 2014 15:39:51 +0100
From: Lee Jones <lee.jones@...aro.org>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: lee.jones@...aro.org, kernel@...inux.com, wim@...ana.be,
linux-watchdog@...r.kernel.org, David Paris <david.paris@...com>
Subject: [PATCH 3/4] watchdog: st_wdt: Provide binding documentation for ST's LPC Watchdog driver
Signed-off-by: David Paris <david.paris@...com>
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
.../devicetree/bindings/watchdog/st-lpc-wdt.txt | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt
diff --git a/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt b/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt
new file mode 100644
index 0000000..f0e57ba
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt
@@ -0,0 +1,27 @@
+STMicroelectronics LPC Watchdog
+===============================
+
+Required properties
+
+- compatible : "st,<soc>-watchdog"
+- reg : LPC registers base address + range
+- reg-names : Register map "base" and "syscfg-en" are compulsory "type" is
+ platform dependent and not required for the STiH407.
+- clock-names : Should be "lpc_wdt"
+- clocks : Clock used by LPC device
+- timeout-sec : Qatchdog timeout in seconds
+- st,syscfg : Syscfg node used to configure cpu reset type and mask
+- st,warm_reset : If present, reset type will be 'warm'. If not, it will be cold
+
+Example:
+ watchdog@...05000 {
+ compatible = "st,stih416-lpc-watchdog";
+ reg = <0xfde05000 0x1000> <0x204 0x4>;
+ reg-names = "base", "syscfg-en"
+ clock-names = "lpc_wdt";
+ clocks = <&clk_s_d3_flexgen CLK_LPC_0>;
+ timeout-sec = <600>;
+ st,syscfg = <&syscfg_core>;
+ st,warm_reset;
+ };
+
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists