Skip to contentSkip to conversation

dt-bindings: watchdog: cdns,wdt-r1p2: Convert cadence watchdog to yaml

PATCH Applied Srinivas Neeli 2 participants 2 messages Jun 1, 2023 – Jun 30, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: watchdog: cdns,wdt-r1p2: Convert cadence watchdog to yaml

Convert cadence watchdog bindings to DT schema format using json-schema.

---
Changes in V2:
- Added missing mailing list emails.
Conor Dooley <[email protected]>
[email protected]

---
 .../bindings/watchdog/cadence-wdt.txt         | 23 -------
 .../bindings/watchdog/cdns,wdt-r1p2.yaml      | 62 +++++++++++++++++++
 2 files changed, 62 insertions(+), 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/cdns,wdt-r1p2.yaml
Documentation/devicetree/bindings/watchdog/cadence-wdt.txt deleted +0 -23
deleted file mode 100644
index 750a87657448..000000000000
@@ -1,23 +0,0 @@
-Zynq Watchdog Device Tree Bindings
--------------------------------------------
-
-Required properties:
-- compatible		: Should be "cdns,wdt-r1p2".
-- clocks		: This is pclk (APB clock).
-- interrupts		: This is wd_irq - watchdog timeout interrupt.
-
-Optional properties
-- reset-on-timeout	: If this property exists, then a reset is done
-			  when watchdog times out.
-- timeout-sec		: Watchdog timeout value (in seconds).
-
-Example:
-	watchdog@f8005000 {
-		compatible = "cdns,wdt-r1p2";
-		clocks = <&clkc 45>;
-		interrupt-parent = <&intc>;
-		interrupts = <0 9 1>;
-		reg = <0xf8005000 0x1000>;
-		reset-on-timeout;
-		timeout-sec = <10>;
-	};
Documentation/devicetree/bindings/watchdog/cdns,wdt-r1p2.yaml new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 9 lines · Srinivas Neeli

Convert cadence watchdog bindings to DT schema format using json-schema.

---
Changes in V2:
- Added missing mailing list emails.
Conor Dooley <[email protected]>
[email protected]

Quoted 7 lines
---
 .../bindings/watchdog/cadence-wdt.txt         | 23 -------
 .../bindings/watchdog/cdns,wdt-r1p2.yaml      | 62 +++++++++++++++++++
 2 files changed, 62 insertions(+), 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/cdns,wdt-r1p2.yaml

Applied, thanks!