* [PATCH] watchdog: Kconfig: enable MTK watchdog
@ 2021-11-03 23:03 Kevin Hilman
2021-11-04 0:33 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2021-11-03 23:03 UTC (permalink / raw)
To: linux-watchdog, linux-mediatek
Cc: Fabien Parent, Wim Van Sebroeck, Guenter Roeck, open list
Enable CONFIG_MEDIATEK_WATCHDOG when ARCH_MEDIATEK is enabled.
On some platforms (e.g. mt8183-pumpkin), watchdog is enabled by
bootloader, so kernel driver needs to be enabled to avoid watchdog
firing and causing reboot part way through kernel boot.
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
drivers/watchdog/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index bf59faeb3de1..00bebbb8f877 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -836,6 +836,7 @@ config MESON_WATCHDOG
config MEDIATEK_WATCHDOG
tristate "Mediatek SoCs watchdog support"
depends on ARCH_MEDIATEK || COMPILE_TEST
+ default ARCH_MEDIATEK
select WATCHDOG_CORE
select RESET_CONTROLLER
help
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: Kconfig: enable MTK watchdog
2021-11-03 23:03 [PATCH] watchdog: Kconfig: enable MTK watchdog Kevin Hilman
@ 2021-11-04 0:33 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2021-11-04 0:33 UTC (permalink / raw)
To: Kevin Hilman, linux-watchdog, linux-mediatek
Cc: Fabien Parent, Wim Van Sebroeck, open list
On 11/3/21 4:03 PM, Kevin Hilman wrote:
> Enable CONFIG_MEDIATEK_WATCHDOG when ARCH_MEDIATEK is enabled.
>
> On some platforms (e.g. mt8183-pumpkin), watchdog is enabled by
> bootloader, so kernel driver needs to be enabled to avoid watchdog
> firing and causing reboot part way through kernel boot.
>
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index bf59faeb3de1..00bebbb8f877 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -836,6 +836,7 @@ config MESON_WATCHDOG
> config MEDIATEK_WATCHDOG
> tristate "Mediatek SoCs watchdog support"
> depends on ARCH_MEDIATEK || COMPILE_TEST
> + default ARCH_MEDIATEK
> select WATCHDOG_CORE
> select RESET_CONTROLLER
> help
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-04 0:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 23:03 [PATCH] watchdog: Kconfig: enable MTK watchdog Kevin Hilman
2021-11-04 0:33 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).