Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] ASoC: add multi Component support
@ 2023-06-21  2:17 Kuninori Morimoto
  2023-06-21  2:18 ` [PATCH 01/14] ASoC: soc-core.c: initialize dlc on snd_soc_get_dai_id() Kuninori Morimoto
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Kuninori Morimoto @ 2023-06-21  2:17 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA


Hi Mark

On below HW case, we would like to use it as "2 Cards",
but unfortunately it is impossible in intuitive way
or possible but not intuitive way.
In reality, it is handled as "1 big Card" today.

	+-- basic board --------+
	|+--------+             |
	|| CPU ch0| <--> CodecA |
	||     ch1| <-+         |
	|+--------+   |         |
	+-------------|---------+
	+-- expansion board ----+
	|             |         |
	|             +-> CodecB|
	+-----------------------+

To handling it as intuitive "2 Cards", this patch-set
adds multi Component support.

Link: https://lore.kernel.org/all/87a6b6cofh.wl-kuninori.morimoto.gx@renesas.com/

Kuninori Morimoto (14):
  ASoC: soc-core.c: initialize dlc on snd_soc_get_dai_id()
  ASoC: soc-core.c: cleanup soc_dai_link_sanity_check()
  ASoC: soc-dai.c: add DAI get/match functions
  ASoC: soc-core.c: enable multi Component
  ASoC: soc-core.c: add snd_soc_get_dai_via_args()
  ASoC: soc-core.c: add snd_soc_dlc_use_cpu_as_platform()
  ASoC: soc-core.c: add snd_soc_copy_dai_args()
  ASoC: simple-card-utils.c: enable multi Component support
  ASoC: simple-card.c: enable multi Component support
  ASoC: rsnd: use DAI driver ID instead of DAI ID
  ASoC: rsnd: cleanup rsnd_dai_of_node()
  ASoC: rsnd: enable multi Component support for Audio Graph Card/Card2
  ASoC: dt-bindings: renesas,rsnd.yaml: add common port-def
  ASoC: dt-bindings: renesas,rsnd.yaml: enable multi ports for multi Component support

 .../bindings/sound/renesas,rsnd.yaml          |  60 ++--
 include/sound/simple_card_utils.h             |   5 +-
 include/sound/soc-dai.h                       |   3 +
 include/sound/soc.h                           |   6 +
 sound/soc/generic/audio-graph-card.c          |   2 +-
 sound/soc/generic/audio-graph-card2.c         |   2 +-
 sound/soc/generic/simple-card-utils.c         |  23 +-
 sound/soc/generic/simple-card.c               |  20 +-
 sound/soc/sh/rcar/core.c                      | 146 +++++++---
 sound/soc/sh/rcar/rsnd.h                      |   4 +
 sound/soc/soc-core.c                          | 267 +++++++++++++-----
 11 files changed, 374 insertions(+), 164 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-07-12 11:53 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21  2:17 [PATCH 00/14] ASoC: add multi Component support Kuninori Morimoto
2023-06-21  2:18 ` [PATCH 01/14] ASoC: soc-core.c: initialize dlc on snd_soc_get_dai_id() Kuninori Morimoto
2023-06-21  2:18 ` [PATCH 02/14] ASoC: soc-core.c: cleanup soc_dai_link_sanity_check() Kuninori Morimoto
2023-06-21  2:18 ` [PATCH 03/14] ASoC: soc-dai.c: add DAI get/match functions Kuninori Morimoto
2023-07-09 21:44   ` Mark Brown
2023-06-21  2:18 ` [PATCH 04/14] ASoC: soc-core.c: enable multi Component Kuninori Morimoto
2023-06-21  2:18 ` [PATCH 05/14] ASoC: soc-core.c: add snd_soc_get_dai_via_args() Kuninori Morimoto
2023-06-21  2:18 ` [PATCH 06/14] ASoC: soc-core.c: add snd_soc_dlc_use_cpu_as_platform() Kuninori Morimoto
2023-06-21  2:18 ` [PATCH 07/14] ASoC: soc-core.c: add snd_soc_copy_dai_args() Kuninori Morimoto
2023-06-21  2:19 ` [PATCH 08/14] ASoC: simple-card-utils.c: enable multi Component support Kuninori Morimoto
2023-06-21  2:19 ` [PATCH 09/14] ASoC: simple-card.c: " Kuninori Morimoto
2023-06-21  2:19 ` [PATCH 10/14] ASoC: rsnd: use DAI driver ID instead of DAI ID Kuninori Morimoto
2023-06-21  2:19 ` [PATCH 11/14] ASoC: rsnd: cleanup rsnd_dai_of_node() Kuninori Morimoto
2023-06-21  2:19 ` [PATCH 12/14] ASoC: rsnd: enable multi Component support for Audio Graph Card/Card2 Kuninori Morimoto
2023-06-21  2:19 ` [PATCH 13/14] ASoC: dt-bindings: renesas,rsnd.yaml: add common port-def Kuninori Morimoto
2023-06-21 10:04   ` Krzysztof Kozlowski
2023-06-21  2:19 ` [PATCH 14/14] ASoC: dt-bindings: renesas,rsnd.yaml: enable multi ports for multi Component support Kuninori Morimoto
2023-06-21 10:05   ` Krzysztof Kozlowski
2023-06-21 23:09     ` Kuninori Morimoto
2023-07-12 11:47 ` [PATCH 00/14] ASoC: add " Mark Brown

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