Skip to content

Commit

Permalink
[nrf fromtree] soc: nordic: nrf54l: remove redundant ELV code
Browse files Browse the repository at this point in the history
Removed dead ELV code from nRF54L soc.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 4c96cbb)
  • Loading branch information
mstasiaknordic authored and jukkar committed Dec 16, 2024
1 parent 8594dc5 commit 850399a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
4 changes: 0 additions & 4 deletions soc/nordic/nrf54l/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@ zephyr_library_sources(
../validate_rram_partitions.c
)
zephyr_include_directories(.)

if(CONFIG_ELV_GRTC_LFXO_ALLOWED)
message(WARNING "WARNING! ELV mode feature is EXPERIMENTAL and may brick your device!")
endif()
14 changes: 0 additions & 14 deletions soc/nordic/nrf54l/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,4 @@ config SOC_NRF_FORCE_CONSTLAT
of base resources on while in sleep. The advantage of having a constant
and predictable latency will be at the cost of having increased power consumption.

if NRF_GRTC_TIMER

config ELV_GRTC_LFXO_ALLOWED
bool
depends on POWEROFF
select EXPERIMENTAL
help
This feature allows using ELV mode when GRTC operates with the LFXO as
a low-frequency clock source. The LFXO is automatically activated when
preparing to system-off.
WARNING! This feature is EXPERIMENTAL and may brick your device!

endif # NRF_GRTC_TIMER

endif # SOC_SERIES_NRF54LX
3 changes: 0 additions & 3 deletions soc/nordic/nrf54l/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ static int nordicsemi_nrf54l_init(void)
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_MAIN, true);
#endif

#if defined(CONFIG_ELV_GRTC_LFXO_ALLOWED)
nrf_regulators_elv_mode_allow_set(NRF_REGULATORS, NRF_REGULATORS_ELV_ELVGRTCLFXO_MASK);
#endif /* CONFIG_ELV_GRTC_LFXO_ALLOWED */
#endif /* NRF_APPLICATION */

return 0;
Expand Down

0 comments on commit 850399a

Please sign in to comment.