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>
23 lines
438 B
Plaintext
23 lines
438 B
Plaintext
# Copyright (c) 2020, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config I2S_MCUX_FLEXCOMM
|
|
bool "MCUX FLEXCOMM I2S driver"
|
|
default y
|
|
depends on DT_HAS_NXP_LPC_I2S_ENABLED
|
|
select DMA
|
|
help
|
|
Enable support for mcux flexcomm i2s driver.
|
|
|
|
if I2S_MCUX_FLEXCOMM
|
|
|
|
config I2S_MCUX_FLEXCOMM_RX_BLOCK_COUNT
|
|
int "RX queue length"
|
|
default 4
|
|
|
|
config I2S_MCUX_FLEXCOMM_TX_BLOCK_COUNT
|
|
int "TX queue length"
|
|
default 4
|
|
|
|
endif # I2S_MCUX_FLEXCOMM
|