Skip to contentSkip to conversation

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

PATCH Applied Udaya Kiran Challa 3 participants 3 messages Jul 1 – Jul 14

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

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

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

---
 .../bindings/watchdog/microchip,pic32-dmt.txt | 19 --------
 .../watchdog/microchip,pic32mzda-dmt.yaml     | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-dmt.yaml
Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt deleted +0 -19
deleted file mode 100644
index 49485f831373..000000000000
@@ -1,19 +0,0 @@
-* Microchip PIC32 Deadman Timer
-
-The deadman timer is used to reset the processor in the event of a software
-malfunction. It is a free-running instruction fetch timer, which is clocked
-whenever an instruction fetch occurs until a count match occurs.
-
-Required properties:
-- compatible: must be "microchip,pic32mzda-dmt".
-- reg: physical base address of the controller and length of memory mapped
-  region.
-- clocks: phandle of source clk. Should be <&rootclk PB7CLK>.
-
-Example:
-
-	watchdog@1f800a00 {
-		compatible = "microchip,pic32mzda-dmt";
-		reg = <0x1f800a00 0x80>;
-		clocks = <&rootclk PB7CLK>;
-	};
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-dmt.yaml new file +45 -0

45 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-dmt.yaml line 45

Quoted 9 lines · Udaya Kiran Challa
Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-dmt.yaml new file +9 -0
+examples:
+  - |
+    #include <dt-bindings/clock/microchip,pic32-clock.h>
+
+    watchdog@1f800a00 {
+        compatible = "microchip,pic32mzda-dmt";
+        reg = <0x1f800a00 0x80>;
+        clocks = <&rootclk PB7CLK>;
+       };

Misaligned indentation, probably not worth sending new version. Maybe could be fixed up when applying, but not that big deal:

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Udaya Kiran Challa
Quoted 11 lines · Udaya Kiran Challa

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

---
 .../bindings/watchdog/microchip,pic32-dmt.txt | 19 --------
 .../watchdog/microchip,pic32mzda-dmt.yaml     | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt
 create mode 100644 Documentation/devicetree/bindings/watchdog/microchip,pic32mzda-dmt.yaml

Applied, thanks!