linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ASoC: imx-audmix: Split capture device to be a new device
@ 2024-06-12  6:40 Shengjiu Wang
  2024-06-12  6:40 ` [PATCH 1/3] ASoC: fsl_sai: Add separate DAI for transmitter and receiver Shengjiu Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Shengjiu Wang @ 2024-06-12  6:40 UTC (permalink / raw)
  To: shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, lgirdwood,
	broonie, perex, tiwai, shawnguo, s.hauer, kernel, alsa-devel,
	linuxppc-dev, linux-sound, imx, linux-arm-kernel, linux-kernel
  Cc: viorel.suman

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-27 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12  6:40 [PATCH 0/3] ASoC: imx-audmix: Split capture device to be a new device Shengjiu Wang
2024-06-12  6:40 ` [PATCH 1/3] ASoC: fsl_sai: Add separate DAI for transmitter and receiver Shengjiu Wang
2024-06-12  6:40 ` [PATCH 2/3] ASoC: fsl_audmix: Split playback and capture stream to different DAI Shengjiu Wang
2024-06-12  6:40 ` [PATCH 3/3] ASoC: imx-audmix: Split capture device for audmix Shengjiu Wang
2024-06-27 12:47 ` [PATCH 0/3] ASoC: imx-audmix: Split capture device to be a new device Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).