[PATCH 0/3] ASoC: imx-audmix: Split capture device to be a new device
Shengjiu Wang
shengjiu.wang at nxp.com
Wed Jun 12 16:40:49 AEST 2024
The transmitter and receiver part of the SAI interface need to be
configured with different master/slave mode, especially to work
with the audiomix module.
The SAI1 TX is in master mode, but SAI1 RX is in slave mode.
So add another two DAIs for TX and RX separately in fsl_sai driver.
There will be three devices for audiomix sound card, hw:x,0 is
the playback device for one SAI, hw:x,1 is the playback device
for another SAI, hw:x,2 is the capture device for audmix
output.
Shengjiu Wang (3):
ASoC: fsl_sai: Add separate DAI for transmitter and receiver
ASoC: fsl_audmix: Split playback and capture stream to different DAI
ASoC: imx-audmix: Split capture device for audmix
sound/soc/fsl/fsl_audmix.c | 16 ++---
sound/soc/fsl/fsl_sai.c | 141 +++++++++++++++++++++++++++----------
sound/soc/fsl/fsl_sai.h | 4 +-
sound/soc/fsl/imx-audmix.c | 79 ++++++++++++---------
4 files changed, 155 insertions(+), 85 deletions(-)
--
2.34.1
More information about the Linuxppc-dev
mailing list