2022-05-23 15:15:03

by Tony Lindgren

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>.

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 <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Vignesh Raghavendra <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
---
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


Subject: [tip: timers/core] clocksource/drivers/timer-ti-dm: Make driver selection bool for TI K3

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 <[email protected]>
AuthorDate: Mon, 23 May 2022 18:14:48 +03:00
Committer: Daniel Lezcano <[email protected]>
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 <[email protected]>.

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 <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Vignesh Raghavendra <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
---
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.