Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nrfx 5244 align i2 s tests to tdm #2315

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
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 drivers/i2s/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ zephyr_library_sources_ifdef(CONFIG_I2S_STM32 i2s_ll_stm32.c)
zephyr_library_sources_ifdef(CONFIG_I2S_LITEX i2s_litex.c)
zephyr_library_sources_ifdef(CONFIG_I2S_MCUX_FLEXCOMM i2s_mcux_flexcomm.c)
zephyr_library_sources_ifdef(CONFIG_I2S_NRFX i2s_nrfx.c)
zephyr_library_sources_ifdef(CONFIG_TDM_NRFX i2s_nrfx_tdm.c)
zephyr_library_sources_ifdef(CONFIG_I2S_MCUX_SAI i2s_mcux_sai.c)
zephyr_library_sources_ifdef(CONFIG_I2S_ESP32 i2s_esp32.c)
21 changes: 21 additions & 0 deletions drivers/i2s/Kconfig.nrfx
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,24 @@ config I2S_NRFX_TX_BLOCK_COUNT
default 4

endif # I2S_NRFX

menuconfig TDM_NRFX
bool "nRF TDM nrfx driver"
default y
depends on DT_HAS_NORDIC_NRF_TDM_ENABLED
select NRFX_TDM130 if HAS_HW_NRF_TDM130
select PINCTRL
help
Enable support for nrfx TDM driver for nRF MCU series.

if TDM_NRFX

config TDM_NRFX_RX_BLOCK_COUNT
int "RX queue length"
default 4

config TDM_NRFX_TX_BLOCK_COUNT
int "TX queue length"
default 4

endif # TDM_NRFX
Loading
Loading