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:
parent
5fa4876d2b
commit
712317c2e3
5 changed files with 943 additions and 0 deletions
22
drivers/i2s/Kconfig.mcux_flexcomm
Normal file
22
drivers/i2s/Kconfig.mcux_flexcomm
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue