[PATCH] clocksource/drivers/timer-ti-dm: Make driver selection bool for TI K3

From: Tony Lindgren
Date: Mon May 23 2022 - 11:14:57 EST


The clocksource drivers do not currently have loadable modules as
pointed out by Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>.

Let's reconsider this later on once timer removal discussion has been
done, and set timer-ti-dm to bool for TI K3 SoC.

Cc: Keerthy <j-keerthy@xxxxxx>
Cc: Nishanth Menon <nm@xxxxxx>
Cc: Vignesh Raghavendra <vigneshr@xxxxxx>
Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
---
drivers/clocksource/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -57,7 +57,8 @@ config DIGICOLOR_TIMER
Enables the support for the digicolor timer driver.

config OMAP_DM_TIMER
- tristate "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST
+ bool "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST
+ default y if ARCH_K3
select TIMER_OF
help
Enables the support for the TI dual-mode timer driver.
--
2.36.1