Skip to content

Commit ce8af54

Browse files
nordic-krchkartben
authored andcommitted
drivers: clock_control: Add missing dependency in Kconfig
Calibration process can be simplified if LF clock is always on. Kconfig was depending on RTC being used as system clock because that indicates LF clock being always on. Same can be done for case when GRTC is used as system clock. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent deae359 commit ce8af54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clock_control/Kconfig.nrf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ config CLOCK_CONTROL_NRF_DRIVER_CALIBRATION
7575

7676
config CLOCK_CONTROL_NRF_CALIBRATION_LF_ALWAYS_ON
7777
bool "LF clock is always on"
78-
default y if NRF_RTC_TIMER
78+
default y if NRF_RTC_TIMER || NRF_GRTC_TIMER
7979
help
80-
If RTC is used as system timer then LF clock is always on and handling
80+
If RTC or GRTC is used as system timer then LF clock is always on and handling
8181
can be simplified.
8282

8383
config CLOCK_CONTROL_NRF_CALIBRATION_PERIOD

0 commit comments

Comments
 (0)