Skip to content

Commit cc3528f

Browse files
[nrf fromtree] soc: nordic: nrf54l: remove redundant ELV code
Removed dead ELV code from nRF54L soc. Signed-off-by: Michał Stasiak <[email protected]> (cherry picked from commit 4c96cbb)
1 parent c0b1e66 commit cc3528f

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
@@ -82,18 +82,4 @@ config SOC_NRF_FORCE_CONSTLAT
8282
of base resources on while in sleep. The advantage of having a constant
8383
and predictable latency will be at the cost of having increased power consumption.
8484

85-
if NRF_GRTC_TIMER
86-
87-
config ELV_GRTC_LFXO_ALLOWED
88-
bool
89-
depends on POWEROFF
90-
select EXPERIMENTAL
91-
help
92-
This feature allows using ELV mode when GRTC operates with the LFXO as
93-
a low-frequency clock source. The LFXO is automatically activated when
94-
preparing to system-off.
95-
WARNING! This feature is EXPERIMENTAL and may brick your device!
96-
97-
endif # NRF_GRTC_TIMER
98-
9985
endif # SOC_SERIES_NRF54LX

soc/nordic/nrf54l/soc.c

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

167-
#if defined(CONFIG_ELV_GRTC_LFXO_ALLOWED)
168-
nrf_regulators_elv_mode_allow_set(NRF_REGULATORS, NRF_REGULATORS_ELV_ELVGRTCLFXO_MASK);
169-
#endif /* CONFIG_ELV_GRTC_LFXO_ALLOWED */
170167
#endif /* NRF_APPLICATION */
171168

172169
return 0;

0 commit comments

Comments
 (0)