linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 1/4] dt-bindings: fsl: scu: add watchdog binding
@ 2019-04-28  3:27 Anson Huang
  2019-04-28  3:27 ` [PATCH V2 2/4] arm64: dts: imx8qxp: Move watchdog node into scu node Anson Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Anson Huang @ 2019-04-28  3:27 UTC (permalink / raw)
  To: robh+dt, mark.rutland, wim, linux, shawnguo, s.hauer, kernel,
	festevam, Aisheng Dong, ulf.hansson, Peng Fan, Daniel Baluta,
	devicetree, linux-kernel, linux-watchdog, linux-arm-kernel
  Cc: dl-linux-imx

i.MX system controller watchdog has pretimeout function which
depends on i.MX SCU driver, so watchdog DT node needs to be
subnode of SCU, this patch adds i.MX system controller watchdog
binding to SCU binding doc.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
New patch.
---
 .../devicetree/bindings/arm/freescale/fsl,scu.txt         | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
index 5d7dbab..1b56557 100644
--- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
+++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
@@ -133,6 +133,16 @@ RTC bindings based on SCU Message Protocol
 Required properties:
 - compatible: should be "fsl,imx8qxp-sc-rtc";
 
+Watchdog bindings based on SCU Message Protocol
+------------------------------------------------------------
+
+Required properties:
+- compatible: should be:
+              "fsl,imx8qxp-sc-wdt"
+              followed by "fsl,imx-sc-wdt";
+Optional properties:
+- timeout-sec: contains the watchdog timeout in seconds.
+
 Example (imx8qxp):
 -------------
 aliases {
@@ -185,6 +195,11 @@ firmware {
 		rtc: rtc {
 			compatible = "fsl,imx8qxp-sc-rtc";
 		};
+
+		watchdog {
+			compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
+			timeout-sec = <60>;
+		};
 	};
 };
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-01 20:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-28  3:27 [PATCH V2 1/4] dt-bindings: fsl: scu: add watchdog binding Anson Huang
2019-04-28  3:27 ` [PATCH V2 2/4] arm64: dts: imx8qxp: Move watchdog node into scu node Anson Huang
2019-04-28  3:27 ` [PATCH V2 3/4] watchdog: imx_sc: Add pretimeout support Anson Huang
2019-04-28  3:27 ` [PATCH V2 4/4] dt-bindings: watchdog: remove i.MX system controller watchdog Anson Huang
2019-05-01 20:13   ` Rob Herring
2019-05-01 20:10 ` [PATCH V2 1/4] dt-bindings: fsl: scu: add watchdog binding Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).