alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/15] ASoC: add multi Component support
@ 2023-07-10  1:19 Kuninori Morimoto
  2023-07-10  1:19 ` [PATCH v2 01/15] ASoC: soc-core: protect dlc->of_node under mutex Kuninori Morimoto
                   ` (15 more replies)
  0 siblings, 16 replies; 25+ messages in thread
From: Kuninori Morimoto @ 2023-07-10  1:19 UTC (permalink / raw)
  To: Mark Brown, Cezary Rojewski, Pierre-Louis Bossart,
	"Amadeusz Sławiński"
  Cc: Linux-ALSA


Hi Mark

These are v2 of multi Component support.

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.

To enable this patch-set, I included [01/15] patch into this patch-set
which is posted but not yet accepted.

v1 -> v2
	- include [01/15] patch into this patch-set
	- add related member to To
	- add DT member to [14/15][15/15]

Link: https://lore.kernel.org/all/87a6b6cofh.wl-kuninori.morimoto.gx@renesas.com/
Link: https://lore.kernel.org/r/87r0q5blta.wl-kuninori.morimoto.gx@renesas.com
Link: https://lore.kernel.org/r/20230623-asoc-fix-meson-probe-v1-1-82b2c2ec5ca4@kernel.org

Kuninori Morimoto (15):
  ASoC: soc-core: protect dlc->of_node under mutex
  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                          | 273 +++++++++++++-----
 11 files changed, 378 insertions(+), 166 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-08-04 17:58 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10  1:19 [PATCH v2 00/15] ASoC: add multi Component support Kuninori Morimoto
2023-07-10  1:19 ` [PATCH v2 01/15] ASoC: soc-core: protect dlc->of_node under mutex Kuninori Morimoto
2023-07-10  1:19 ` [PATCH v2 02/15] ASoC: soc-core.c: initialize dlc on snd_soc_get_dai_id() Kuninori Morimoto
2023-07-10  1:19 ` [PATCH v2 03/15] ASoC: soc-core.c: cleanup soc_dai_link_sanity_check() Kuninori Morimoto
2023-07-10  1:19 ` [PATCH v2 04/15] ASoC: soc-dai.c: add DAI get/match functions Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 05/15] ASoC: soc-core.c: enable multi Component Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 06/15] ASoC: soc-core.c: add snd_soc_get_dai_via_args() Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 07/15] ASoC: soc-core.c: add snd_soc_dlc_use_cpu_as_platform() Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 08/15] ASoC: soc-core.c: add snd_soc_copy_dai_args() Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 09/15] ASoC: simple-card-utils.c: enable multi Component support Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 10/15] ASoC: simple-card.c: " Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 11/15] ASoC: rsnd: use DAI driver ID instead of DAI ID Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 12/15] ASoC: rsnd: cleanup rsnd_dai_of_node() Kuninori Morimoto
2023-07-10  1:20 ` [PATCH v2 13/15] ASoC: rsnd: enable multi Component support for Audio Graph Card/Card2 Kuninori Morimoto
2023-07-10  1:21 ` [PATCH v2 14/15] ASoC: dt-bindings: renesas,rsnd.yaml: add common port-def Kuninori Morimoto
2023-07-10 15:19   ` Rob Herring
2023-07-11  0:00     ` Kuninori Morimoto
2023-07-14 14:42       ` Rob Herring
2023-07-19  0:11         ` Kuninori Morimoto
2023-07-19 23:36         ` Kuninori Morimoto
2023-08-04 17:56           ` Rob Herring
2023-07-10  1:21 ` [PATCH v2 15/15] ASoC: dt-bindings: renesas,rsnd.yaml: enable multi ports for multi Component support Kuninori Morimoto
2023-07-10 15:23   ` Rob Herring
2023-07-11  0:05     ` Kuninori Morimoto
2023-07-16 12:51 ` (subset) [PATCH v2 00/15] 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;
as well as URLs for NNTP newsgroup(s).