dt-bindings: watchdog: cdns,wdt-r1p2: Convert cadence watchdog to yaml
Subsystems (2)
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.
Signed-off-by Srinivas Neeli <[email protected]>
Reviewed-by Krzysztof Kozlowski <[email protected]>
---
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
@@ -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
Quoted 9 lines · Srinivas Neeli
Convert cadence watchdog bindings to DT schema format using json-schema.
Signed-off-by Srinivas Neeli <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>---
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!