[V3,1/4] dt-bindings: fsl: scu: add watchdog binding
diff mbox series

Message ID 1551060850-22553-2-git-send-email-Anson.Huang@nxp.com
State New
Headers show
Series
  • Add i.MX8QXP system controller watchdog support
Related show

Commit Message

Anson Huang Feb. 25, 2019, 2:19 a.m. UTC
Add i.MX8QXP system controller watchdog binding.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
Changes since V2:
	- add fallback compatible "fsl,imx-sc-wdt" to cover other i.MX platforms with system controller
	  watchdog available.
	- this patch depends on my thermal patch series: https://patchwork.kernel.org/patch/10827673/
---
 Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
index 2e310ac..4f9a3f4 100644
--- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
+++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
@@ -137,6 +137,14 @@  Required properties:
 				an array of integers to specify each thermal zone's sensor
 				resource ID.
 
+Watchdog bindings based on SCU Message Protocol
+------------------------------------------------------------
+
+Required properties:
+- compatible:			Should be :
+				  "fsl,imx8qxp-sc-wdt"
+				followed by "fsl,imx-sc-wdt";
+
 Example (imx8qxp):
 -------------
 lsio_mu1: mailbox@5d1c0000 {
@@ -189,6 +197,10 @@  firmware {
 			#thermal-sensor-cells = <0>;
 			imx,sensor-resource-id = <IMX_SC_R_SYSTEM>;
 		};
+
+		watchdog: watchdog {
+			compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
+		};
 	};
 };