[PATCH] rtc: fsl-ftm-alarm: remove select FSL_RCPM and default y from Kconfig

Subsystems: real time clock (rtc) subsystem, the rest

STALE2490d LANDED

Landed in mainline as 5ba03f8f681a on 2019-11-15.

2 messages, 2 authors, 2019-11-15 · open the first message on its own page

[PATCH] rtc: fsl-ftm-alarm: remove select FSL_RCPM and default y from Kconfig

From: Li Yang <hidden>
Date: 2019-11-08 22:41:04

The Flextimer alarm is primarily used as a wakeup source for system
power management.  But it shouldn't select the power management driver
as they don't really have dependency of each other.

Also remove the default y as it is not a critical feature for the
systems.

Signed-off-by: Li Yang <redacted>
---
 drivers/rtc/Kconfig | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 1adf9f815652..b33b80243143 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1337,8 +1337,6 @@ config RTC_DRV_IMXDI
 config RTC_DRV_FSL_FTM_ALARM
 	tristate "Freescale FlexTimer alarm timer"
 	depends on ARCH_LAYERSCAPE || SOC_LS1021A
-	select FSL_RCPM
-	default y
 	help
 	   For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
 	   LS1088A, LS208xA, we can use FTM as the wakeup source.
-- 
2.17.1

Re: [PATCH] rtc: fsl-ftm-alarm: remove select FSL_RCPM and default y from Kconfig

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2019-11-15 13:01:26

On 08/11/2019 16:40:56-0600, Li Yang wrote:
The Flextimer alarm is primarily used as a wakeup source for system
power management.  But it shouldn't select the power management driver
as they don't really have dependency of each other.

Also remove the default y as it is not a critical feature for the
systems.

Signed-off-by: Li Yang <redacted>
---
 drivers/rtc/Kconfig | 2 --
 1 file changed, 2 deletions(-)
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help