Skip to contentSkip to conversation

watchdog: Tighten dependencies on WDT_DAVINCI

PATCH In review Tom Rini 2 participants 2 messages Oct 1, 2025 – Oct 16, 2025 Watchdog device drivers

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 watchdog: Tighten dependencies on WDT_DAVINCI

The WDT_DAVINCI driver is not safe to compile on 64bit platforms such as allyesconfig on a 64bit host. Tighten the dependencies here to the platforms which could use it today.

---
Note that today no platforms enable it, but based on the compatible string a number of platforms could, so I'm cc'ing platform maintainers that may want to enable it.

Cc Andrew Davis <[email protected]>
Cc David Lechner <[email protected]>
Cc Adam Ford <[email protected]>
---
 drivers/watchdog/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/Kconfig +1 -1
index f646b35eff84..309f9cd4829b 100644
@@ -190,7 +190,7 @@ config WDT_DA9063
 
 config WDT_DAVINCI
 	bool "DaVinci watchdog timer support"
-	depends on WDT
+	depends on WDT && (ARCH_DAVINCI || ARCH_KEYSTONE)
 	help
 	  Select this to enable the watchdog timer for DaVinci SoCs such as the
 	  OMAP-L138.
Signature · 1 line
2.43.0
#1 lore raw
Quoted 5 lines · Tom Rini

The WDT_DAVINCI driver is not safe to compile on 64bit platforms such as allyesconfig on a 64bit host. Tighten the dependencies here to the platforms which could use it today.

Quoted 8 lines

---
Note that today no platforms enable it, but based on the compatible string a number of platforms could, so I'm cc'ing platform maintainers that may want to enable it.

Cc Andrew Davis <[email protected]>
Cc David Lechner <[email protected]>
Cc Adam Ford <[email protected]>

Applied to u-boot-watchdog/master

Thanks,
Stefan

Quoted 17 lines
---
  drivers/watchdog/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/Kconfig +1 -1
index f646b35eff84..309f9cd4829b 100644
@@ -190,7 +190,7 @@ config WDT_DA9063
 
  config WDT_DAVINCI
  	bool "DaVinci watchdog timer support"
-	depends on WDT
+	depends on WDT && (ARCH_DAVINCI || ARCH_KEYSTONE)
  	help
  	  Select this to enable the watchdog timer for DaVinci SoCs such as the
  	  OMAP-L138.