modules: hal_nordic: nrfx: Handle properly I2S0 instance

Although existing nRF SoCs have only one I2S instance, the nrfx_i2s
driver has now multi-instance API and the related nrfx configuration
symbols need to be used appropriately.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2023-05-05 09:44:25 +02:00 committed by Carles Cufí
commit 7a54aed015
4 changed files with 12 additions and 5 deletions

View file

@ -73,8 +73,12 @@ config NRFX_GPIOTE_NUM_OF_EVT_HANDLERS
by the user.
config NRFX_I2S
bool "I2S driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_I2S))
bool
config NRFX_I2S0
bool "I2S0 driver instance"
depends on $(dt_nodelabel_has_compat,i2s0,$(DT_COMPAT_NORDIC_NRF_I2S))
select NRFX_I2S
config NRFX_IPC
bool "IPC driver"