[tip: timers/core] clocksource/drivers/timer-ti-dm: Make driver selection bool for TI K3
From: tip-bot2 for Tony Lindgren
Date: Thu Jul 28 2022 - 06:44:25 EST
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 775343f9fde99b4e5e6470f9d8afd519ee67dfa3
Gitweb: https://git.kernel.org/tip/775343f9fde99b4e5e6470f9d8afd519ee67dfa3
Author: Tony Lindgren <tony@xxxxxxxxxxx>
AuthorDate: Mon, 23 May 2022 18:14:48 +03:00
Committer: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
CommitterDate: Wed, 27 Jul 2022 17:00:48 +02:00
clocksource/drivers/timer-ti-dm: Make driver selection bool for TI K3
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>
Link: https://lore.kernel.org/r/20220523151448.23732-1-tony@xxxxxxxxxxx
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
---
drivers/clocksource/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 967dcfb..5d09cf5 100644
--- 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.