nrfs: added audiopll service

Added configuration for new audio PLL service.
Pull in new service implementation in new hal nordic.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
This commit is contained in:
Łukasz Stępnicki 2025-03-12 13:32:10 +01:00 committed by Anas Nashif
commit 2bac5eec84
5 changed files with 16 additions and 1 deletions

View file

@ -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)

View file

@ -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
@ -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"

View file

@ -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