Skip to contentSkip to conversation

watchdog: Kconfig: enable MTK watchdog

PATCH In review Kevin Hilman 2 participants 2 messages Nov 3, 2021 – Nov 4, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: Kconfig: enable MTK watchdog

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.

---
 drivers/watchdog/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
index bf59faeb3de1..00bebbb8f877 100644
@@ -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
Signature · 1 line
2.33.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Kevin Hilman

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.

Quoted 17 lines
---
  drivers/watchdog/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
index bf59faeb3de1..00bebbb8f877 100644
@@ -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