Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/hal_nordic/nrfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ if(CONFIG_NRFS)
zephyr_library_sources(${HELPERS_DIR}/dvfs_oppoint.c)

if(CONFIG_NRFS_LOCAL_DOMAIN)
zephyr_library_sources_ifdef(CONFIG_NRFS_AUDIOPLL_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_audiopll.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_CLOCK_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_clock.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_DIAG_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_diag.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_DVFS_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_dvfs.c)
Expand Down
8 changes: 8 additions & 0 deletions modules/hal_nordic/nrfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ config HAS_NRFS
menu "nRF Services"
depends on HAS_NRFS

config NRFS_HAS_AUDIOPLL_SERVICE
bool

config NRFS_HAS_CLOCK_SERVICE
bool

Expand Down Expand Up @@ -133,6 +136,11 @@ config NRFS_SWEXT_SERVICE_ENABLED
depends on NRFS_HAS_SWEXT_SERVICE
default y

config NRFS_AUDIOPLL_SERVICE_ENABLED
bool "Audio PLL service"
depends on NRFS_HAS_AUDIOPLL_SERVICE
default y if SOC_NRF54H20_CPUAPP

endmenu

rsource "backends/Kconfig"
Expand Down
4 changes: 4 additions & 0 deletions modules/hal_nordic/nrfs/nrfs_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
#define NRFS_SWEXT_SERVICE_ENABLED
#endif

#ifdef CONFIG_NRFS_AUDIOPLL_SERVICE_ENABLED
#define NRFS_AUDIOPLL_SERVICE_ENABLED
#endif

#ifdef CONFIG_SOC_POSIX
#define NRFS_UNIT_TESTS_ENABLED
#endif
Expand Down
2 changes: 2 additions & 0 deletions soc/nordic/nrf54h/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ config SOC_NRF54H20_CPUAPP_COMMON
select HAS_NORDIC_DMM
select HAS_NORDIC_RAM_CTRL
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select NRFS_HAS_AUDIOPLL_SERVICE
select NRFS_HAS_CLOCK_SERVICE
select NRFS_HAS_DVFS_SERVICE
select NRFS_HAS_GDFS_SERVICE
Expand All @@ -49,6 +50,7 @@ config SOC_NRF54H20_CPURAD_COMMON
select CPU_HAS_FPU
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select NRFS_HAS_AUDIOPLL_SERVICE
select NRFS_HAS_CLOCK_SERVICE
select NRFS_HAS_GDFS_SERVICE
select NRFS_HAS_GDPWR_SERVICE
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ manifest:
groups:
- hal
- name: hal_nordic
revision: 35bf3ca665122ddfe8c0c38cec8f19deef2ff62d
revision: 7440d573d36953b80cb6fb6438b147acb21bf753
path: modules/hal/nordic
groups:
- hal
Expand Down