Skip to contentSkip to conversation

dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema

PATCH Superseded Udaya Kiran Challa 2 participants 2 messages Jun 20 – Jun 23

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: watchdog: microchip,pic32mzda-wdt: Convert to DT schema

Convert Microchip PIC32 Watchdog Timer devicetree binding from legacy text format to DT schema.

---
 .../bindings/watchdog/microchip,pic32-wdt.txt | 18 --------
 .../watchdog/microchip,pic32mzda-wdt.yaml     | 44 +++++++++++++++++++
 2 files changed, 44 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml
Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt deleted +0 -18
deleted file mode 100644
index f03a29a1b323..000000000000
@@ -1,18 +0,0 @@
-* Microchip PIC32 Watchdog Timer
-
-When enabled, the watchdog peripheral can be used to reset the device if the
-WDT is not cleared periodically in software.
-
-Required properties:
-- compatible: must be "microchip,pic32mzda-wdt".
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- clocks: phandle of source clk. Should be <&rootclk LPRCCLK>.
-
-Example:
-
-	watchdog@1f800800 {
-		compatible = "microchip,pic32mzda-wdt";
-		reg = <0x1f800800 0x200>;
-		clocks = <&rootclk LPRCCLK>;
-	};
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml new file +44 -0

44 lines not on this page · raw message

Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml line 44

Quoted 5 lines · Udaya Kiran Challa
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-wdt.yaml new file +5 -0
+    watchdog@1f800800 {
+        compatible = "microchip,pic32mzda-wdt";
+        reg = <0x1f800800 0x200>;
+        clocks = <&rootclk REF2CLK>;
+       };

Indentaion needs fixing.

With that:

Best regards,
Krzysztof