drivers: i2s: Add support for I2S driver for LPC devices

This uses the API's provided by the SDK I2S driver.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2020-10-14 12:15:43 -05:00 committed by Maureen Helm
commit 712317c2e3
5 changed files with 943 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# Copyright (c) 2020, NXP
# SPDX-License-Identifier: Apache-2.0
config I2S_MCUX_FLEXCOMM
bool "MCUX FLEXCOMM I2S driver"
depends on HAS_MCUX_FLEXCOMM
select DMA
select INIT_AUDIO_PLL
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