In some cases, we may need watchdog just to trigger an
internal soc reset without sending any output signal.
Provide a disable_wdt_extrst parameter for configuration.
We can disable or enable it just by configuring dts.
Signed-off-by: fengquan.chen <redacted>
---
drivers/watchdog/mtk_wdt.c | 7 +++++++
1 file changed, 7 insertions(+)
This patch add a description and example of disable_wdt_extrst
element for watchdog on MTK Socs
Signed-off-by: fengquan.chen <redacted>
---
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 2 ++
1 file changed, 2 insertions(+)
@@ -17,6 +17,7 @@ Required properties: - reg : Specifies base physical address and size of the registers. Optional properties:+- mediatek,disable-extrst: disable send output reset signal - timeout-sec: contains the watchdog timeout in seconds. - #reset-cells: Should be 1.
In some cases, we may need watchdog just to trigger an
internal soc reset without sending any output signal.
Provide a disable_wdt_extrst parameter for configuration.
We can disable or enable it just by configuring dts.
Signed-off-by: fengquan.chen <redacted>
Nit: You should set up git such that it uses "Fengquan Chen", not
"fengquan.chen".
Other than that, for my reference,
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
We'll have to wait for dt property approval before we can apply the patch.
Thanks,
Guenter
From: Rob Herring <robh@kernel.org> Date: 2021-09-07 19:28:22
On Fri, 03 Sep 2021 14:16:23 +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 <redacted>
---
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 2 ++
1 file changed, 2 insertions(+)
On Fri, 2021-09-03 at 07:05 -0700, Guenter Roeck wrote:
On 9/2/21 11:16 PM, Fengquan Chen wrote:
quoted
In some cases, we may need watchdog just to trigger an
internal soc reset without sending any output signal.
Provide a disable_wdt_extrst parameter for configuration.
We can disable or enable it just by configuring dts.
Signed-off-by: fengquan.chen <redacted>
Nit: You should set up git such that it uses "Fengquan Chen", not
"fengquan.chen".
Other than that, for my reference,
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
We'll have to wait for dt property approval before we can apply the
patch.
Thanks,
Guenter
Thanks, i have uploaded a new v3 to fix the signed-off name,
and move the dt-binding patch to the first patch.
Best Regards
Fengquan