zephyr/drivers/i2s/Kconfig.nrfx
Andrzej Głąbek 586e26e8fc soc: nrf: Use data from DTS to populate HAS_HW_NRF_* Kconfig options
Instead of selecting appropriate HAS_HW_NRF_* options for particular
nRF SoCs (and simulated nRF52 target), set their values basing on
information from devicetree.
Correct also semantics of those options so that they are set only when
a corresponding DT node is enabled. This allows using them directly in
Kconfig dependencies of Zephyr drivers for nRF peripherals. Update
appropriately these dependencies.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-04-02 15:14:38 +02:00

23 lines
415 B
Plaintext

# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menuconfig I2S_NRFX
bool "nRF I2S nrfx driver"
depends on HAS_HW_NRF_I2S
default y
select NRFX_I2S
help
Enable support for nrfx I2S driver for nRF MCU series.
if I2S_NRFX
config I2S_NRFX_RX_BLOCK_COUNT
int "RX queue length"
default 4
config I2S_NRFX_TX_BLOCK_COUNT
int "TX queue length"
default 4
endif # I2S_NRFX