Skip to contentSkip to conversation

timer: Tighten dependencies on MCHP_PIT64B_TIMER

PATCH In review Tom Rini 2 participants 3 messages Oct 1, 2025 – Oct 10, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 timer: Tighten dependencies on MCHP_PIT64B_TIMER

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

---
Cc: Durai Manickam KR <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Manikandan Muralidharan <[email protected]>
Cc: Ryan Wanner <[email protected]>
Cc: Mihai Sain <[email protected]>

---
 drivers/timer/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/timer/Kconfig +1 -1
index 5cac1dcf2be9..f9511503b027 100644
@@ -312,7 +312,7 @@ config MTK_TIMER
 
 config MCHP_PIT64B_TIMER
 	bool "Microchip 64-bit periodic interval timer support"
-	depends on TIMER
+	depends on TIMER && ARCH_AT91
 	help
 	  Select this to enable support for Microchip 64-bit periodic
 	  interval timer.
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Tom Rini

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

---
Cc: Durai Manickam KR <[email protected]>
Cc: Eugen Hristev <[email protected]>

Quoted 4 lines
Cc Manikandan Muralidharan <[email protected]>
Cc Ryan Wanner <[email protected]>
Cc Mihai Sain <[email protected]>

---

[...]

author
#2 lore raw
In reply to Tom Rini
Quoted 5 lines · Tom Rini

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

Applied to u-boot/master, thanks!

[1/1] timer: Tighten dependencies on MCHP_PIT64B_TIMER

      commit: 1d34d80881c4bc60a158c31c718abc23b3835423
Signature · 1 line
Tom