2021-09-14 12:36:40

by Fengquan Chen

[permalink] [raw]
Subject: [v3,1/2] dt-bindings: watchdog: mtk-wdt: add disable_wdt_extrst support

This patch add a description and example of disable_wdt_extrst
element for watchdog on MTK Socs

Signed-off-by: Fengquan Chen <[email protected]>
Acked-by: Rob Herring <[email protected]>
---
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
index a4e31ce96e0e..0114871f887a 100644
--- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
@@ -22,6 +22,7 @@ Required properties:
- reg : Specifies base physical address and size of the registers.

Optional properties:
+- mediatek,disable-extrst: disable send output reset signal
- interrupts: Watchdog pre-timeout (bark) interrupt.
- timeout-sec: contains the watchdog timeout in seconds.
- #reset-cells: Should be 1.
@@ -31,6 +32,7 @@ Example:
watchdog: watchdog@10007000 {
compatible = "mediatek,mt8183-wdt",
"mediatek,mt6589-wdt";
+ mediatek,disable-extrst;
reg = <0 0x10007000 0 0x100>;
interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>;
timeout-sec = <10>;
--
2.25.1


2021-09-17 22:36:27

by Guenter Roeck

[permalink] [raw]
Subject: Re: [v3,1/2] dt-bindings: watchdog: mtk-wdt: add disable_wdt_extrst support

On Tue, Sep 14, 2021 at 08:34:53PM +0800, Fengquan Chen wrote:
> This patch add a description and example of disable_wdt_extrst
> element for watchdog on MTK Socs
>
> Signed-off-by: Fengquan Chen <[email protected]>
> Acked-by: Rob Herring <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> index a4e31ce96e0e..0114871f887a 100644
> --- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> @@ -22,6 +22,7 @@ Required properties:
> - reg : Specifies base physical address and size of the registers.
>
> Optional properties:
> +- mediatek,disable-extrst: disable send output reset signal
> - interrupts: Watchdog pre-timeout (bark) interrupt.
> - timeout-sec: contains the watchdog timeout in seconds.
> - #reset-cells: Should be 1.
> @@ -31,6 +32,7 @@ Example:
> watchdog: watchdog@10007000 {
> compatible = "mediatek,mt8183-wdt",
> "mediatek,mt6589-wdt";
> + mediatek,disable-extrst;
> reg = <0 0x10007000 0 0x100>;
> interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>;
> timeout-sec = <10>;