linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clocksource/drivers/sprd: Remove the dependency between sprd timer and SPRD arch
@ 2021-05-11  7:08 Nianfu Bai
  2021-05-18  7:18 ` 答复: " 柏年福 (Nianfu Bai)
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nianfu Bai @ 2021-05-11  7:08 UTC (permalink / raw)
  To: daniel.lezcano, tglx; +Cc: linux-kernel, nianfu.bai, ruifeng.zhang1

From: Nianfu Bai <nianfu.bai@unisoc.com>

Tick broadcast installed by insmod cannot switch to oneshot mode correctly
caused by linux timer framework, need to build in kernel image. SPRD_TIMER
has been selected by SPRD arch, we have to enable SPRD arch when we build
sprd timer in kernel image, this action conflicts with general kernel image,
so we need to remove the dependency between sprd timer and SPRD arch.

Signed-off-by: Nianfu Bai <nianfu.bai@unisoc.com>
Signed-off-by: Ruifeng Zhang <ruifeng.zhang1@unisoc.com>
---
 drivers/clocksource/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 39aa21d..04b333c 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -447,10 +447,8 @@ config MTK_TIMER
 	  Support for Mediatek timer driver.
 
 config SPRD_TIMER
-	bool "Spreadtrum timer driver" if EXPERT
+	bool "Spreadtrum timer driver" if COMPILE_TEST
 	depends on HAS_IOMEM
-	depends on (ARCH_SPRD || COMPILE_TEST)
-	default ARCH_SPRD
 	select TIMER_OF
 	help
 	  Enables support for the Spreadtrum timer driver.
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-10  7:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11  7:08 [PATCH] clocksource/drivers/sprd: Remove the dependency between sprd timer and SPRD arch Nianfu Bai
2021-05-18  7:18 ` 答复: " 柏年福 (Nianfu Bai)
2021-05-18  9:04 ` Greg KH
2021-05-19  5:53   ` 答复: " 柏年福 (Nianfu Bai)
2021-06-04  8:24 ` Daniel Lezcano
2021-06-08  2:55   ` 答复: " 柏年福 (Nianfu Bai)
2021-06-08 12:08     ` Daniel Lezcano
2021-06-10  7:41       ` NFBAI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).