public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* [alsa-devel] [PATCH RFC v4 0/6] ASoC: Add Multi CPU DAI support
@ 2020-01-20 13:29 Bard Liao
  2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 1/6] ASoC: Add initial support for multiple CPU DAIs Bard Liao
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Bard Liao @ 2020-01-20 13:29 UTC (permalink / raw)
  To: broonie, tiwai
  Cc: liam.r.girdwood, alsa-devel, bard.liao, pierre-louis.bossart,
	kuninori.morimoto.gx

As discussed in [1], ASoC core supports multi codec DAIs
on a DAI link. However it does not do so for CPU DAIs.

So, add support for multi CPU DAIs on a DAI Link by adding
multi CPU DAI in Card instantiation, suspend and resume
functions, PCM ops, stream handling functions and DAPM.

[1]: https://www.spinics.net/lists/alsa-devel/msg71369.html

changes in v4:
 - fix "rtd->num_codecs > 1" error in ASoC: Add Multi CPU DAI support
 - split "ASoC: pcm: check if cpu DAI support the given stream" from
   "ASoC: Add multiple CPU DAI support for PCM ops"
 - add helper "ASoC: Add dapm_add_valid_dai_widget helper" for
   "ASoC: Add multiple CPU DAI support in DAPM" 

Bard Liao (2):
  ASoC: return error if the function is not support multi cpu yet.
  ASoC: pcm: check if cpu DAI support the given stream

Shreyas NC (4):
  ASoC: Add initial support for multiple CPU DAIs
  ASoC: Add multiple CPU DAI support for PCM ops
  ASoC: Add dapm_add_valid_dai_widget helper
  ASoC: Add multiple CPU DAI support in DAPM

 include/sound/soc.h                   |  15 +
 sound/soc/soc-compress.c              |   5 +-
 sound/soc/soc-core.c                  | 205 +++++-----
 sound/soc/soc-dapm.c                  | 133 ++++---
 sound/soc/soc-generic-dmaengine-pcm.c |  18 +
 sound/soc/soc-pcm.c                   | 554 ++++++++++++++++++--------
 6 files changed, 615 insertions(+), 315 deletions(-)

-- 
2.17.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

end of thread, other threads:[~2020-02-25  2:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-20 13:29 [alsa-devel] [PATCH RFC v4 0/6] ASoC: Add Multi CPU DAI support Bard Liao
2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 1/6] ASoC: Add initial support for multiple CPU DAIs Bard Liao
2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 2/6] ASoC: Add multiple CPU DAI support for PCM ops Bard Liao
2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 3/6] ASoC: Add dapm_add_valid_dai_widget helper Bard Liao
2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 4/6] ASoC: Add multiple CPU DAI support in DAPM Bard Liao
2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 5/6] ASoC: return error if the function is not support multi cpu yet Bard Liao
2020-01-20 13:29 ` [alsa-devel] [PATCH RFC v4 6/6] ASoC: pcm: check if cpu DAI support the given stream Bard Liao
2020-01-22 16:57 ` [alsa-devel] [PATCH RFC v4 0/6] ASoC: Add Multi CPU DAI support Mark Brown
2020-02-25  1:56 ` Mark Brown
2020-02-25  2:54   ` Liao, Bard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox