dt-bindings: watchdog: microchip,pic32mzda-dmt: Convert to DT schema
Subsystems (3)
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.
Signed-off-by Udaya Kiran Challa <[email protected]>
--- .../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
@@ -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
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:
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Quoted 11 lines · Udaya Kiran Challa
Convert Microchip PIC32 Deadman Timer devicetree binding from legacy text format to DT schema.
Signed-off-by Udaya Kiran Challa <[email protected]>--- .../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!