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

@ -5,7 +5,7 @@ menuconfig I2S_NRFX
bool "nRF I2S nrfx driver"
default y
depends on DT_HAS_NORDIC_NRF_I2S_ENABLED
select NRFX_I2S
select NRFX_I2S0 if HAS_HW_NRF_I2S0
help
Enable support for nrfx I2S driver for nRF MCU series.