Skip to content

Commit 4c96cbb

Browse files
mstasiaknordickartben
authored andcommitted
soc: nordic: nrf54l: remove redundant ELV code
Removed dead ELV code from nRF54L soc. Signed-off-by: Michał Stasiak <[email protected]>
1 parent a5389df commit 4c96cbb

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

soc/nordic/nrf54l/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,3 @@ zephyr_library_sources(
66
../validate_rram_partitions.c
77
)
88
zephyr_include_directories(.)
9-
10-
if(CONFIG_ELV_GRTC_LFXO_ALLOWED)
11-
message(WARNING "WARNING! ELV mode feature is EXPERIMENTAL and may brick your device!")
12-
endif()

soc/nordic/nrf54l/Kconfig

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,4 @@ config SOC_NRF_FORCE_CONSTLAT
7373
of base resources on while in sleep. The advantage of having a constant
7474
and predictable latency will be at the cost of having increased power consumption.
7575

76-
if NRF_GRTC_TIMER
77-
78-
config ELV_GRTC_LFXO_ALLOWED
79-
bool
80-
depends on POWEROFF
81-
select EXPERIMENTAL
82-
help
83-
This feature allows using ELV mode when GRTC operates with the LFXO as
84-
a low-frequency clock source. The LFXO is automatically activated when
85-
preparing to system-off.
86-
WARNING! This feature is EXPERIMENTAL and may brick your device!
87-
88-
endif # NRF_GRTC_TIMER
89-
9076
endif # SOC_SERIES_NRF54LX

soc/nordic/nrf54l/soc.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@ static int nordicsemi_nrf54l_init(void)
161161
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_MAIN, true);
162162
#endif
163163

164-
#if defined(CONFIG_ELV_GRTC_LFXO_ALLOWED)
165-
nrf_regulators_elv_mode_allow_set(NRF_REGULATORS, NRF_REGULATORS_ELV_ELVGRTCLFXO_MASK);
166-
#endif /* CONFIG_ELV_GRTC_LFXO_ALLOWED */
167164
#endif /* NRF_APPLICATION */
168165

169166
return 0;

0 commit comments

Comments
 (0)