324ee290f8
Update I2S drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
31 lines
560 B
Plaintext
31 lines
560 B
Plaintext
# MCUX I2S driver configuration options
|
|
|
|
# Copyright (c) 2021, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig I2S_MCUX_SAI
|
|
bool "NXP MCUX I2S controller driver"
|
|
default y
|
|
depends on DT_HAS_NXP_MCUX_I2S_ENABLED
|
|
select DMA
|
|
help
|
|
Enable I2S support on the I.MX family of processors.
|
|
|
|
if I2S_MCUX_SAI
|
|
|
|
config I2S_RX_BLOCK_COUNT
|
|
int "RX queue length"
|
|
default 4
|
|
|
|
config I2S_TX_BLOCK_COUNT
|
|
int "TX queue length"
|
|
default 4
|
|
|
|
config I2S_EDMA_BURST_SIZE
|
|
int "I2S EDMA BURST SIZE"
|
|
default 2
|
|
help
|
|
I2S EDMA burst size in bytes.
|
|
|
|
endif # I2S_MCUX_SAI
|