devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] ASoC: makes CPU/Codec channel connection map more generic
@ 2023-10-23  5:35 Kuninori Morimoto
  2023-10-23  5:35 ` [PATCH v5 1/5] " Kuninori Morimoto
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Kuninori Morimoto @ 2023-10-23  5:35 UTC (permalink / raw)
  To: Pierre-Louis Bossart, Mark Brown, Bard Liao, bard.liao,
	Conor Dooley, Krzysztof Kozlowski, Rob Herring, Jerome Brunet
  Cc: alsa-devel, devicetree


Hi Mark
Cc Bard, Pierre-Louis, Jerome, DT-ML

This is v5 patch-set.

Current ASoC is supporting CPU/Codec = N:M (N < M) connection by using
ch_map idea. This patch-set expands it that all connection uses this idea,
and no longer N < M limit [1][2].

Link: https://lore.kernel.org/r/87fs6wuszr.wl-kuninori.morimoto.gx@renesas.com [1]
Link: https://lore.kernel.org/r/878r7yqeo4.wl-kuninori.morimoto.gx@renesas.com [2]

This patch is tested on Audio-Graph-Card2 with sample dtsi,
but needs Tested-by, at least from Intel.

[PATCH 1/5] patch got Tested-by from Pierre-Louis / Jerome before,
but v5 is using different idea from v4. Thus I didn't add below tag.

	Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
	Tested-by: Jerome Brunet <jbrunet@baylibre.com>


v4 -> v5
	- use cpu/codec index on ch_maps
	- separate card2 sample DT patch into prepare and new feature
	- ch-maps -> ch-map-idx on DT

v3 -> v4
	- add Jerome on To
	- add "description" on "ch-maps"

v2 -> v3
	- tidyup comment
	- use more clear connection image on DT
	- "ch_maps" -> "ch-maps" on DT
	- Add DT maintainer on "To:" for all patches

v1 -> v2
	- makes CPU/Codec connection relation clear on comment/sample
	- fixup type "connction" -> "connection"
	- makes error message clear

Kuninori Morimoto (4):
  ASoC: makes CPU/Codec channel connection map more generic
  ASoC: audio-graph-card2: add CPU:Codec = N:M support
  ASoC: audio-graph-card2-custom-sample: add CPU/Codec = N:M sample
  dt-bindings: audio-graph-port: add ch-maps property


Kuninori Morimoto (5):
  ASoC: makes CPU/Codec channel connection map more generic
  ASoC: audio-graph-card2: add CPU:Codec = N:M support
  ASoC: audio-graph-card2-custom-sample: tidyup comment / numbering
  ASoC: audio-graph-card2-custom-sample: add CPU/Codec = N:M sample
  dt-bindings: audio-graph-port: add ch-map-idx property

 .../bindings/sound/audio-graph-port.yaml      |   7 +-
 include/sound/soc.h                           |  55 ++++++-
 .../audio-graph-card2-custom-sample.dtsi      | 136 +++++++++++++++---
 sound/soc/generic/audio-graph-card2.c         |  49 +++++++
 sound/soc/intel/boards/sof_sdw.c              |  28 ++--
 sound/soc/soc-core.c                          |  97 ++++++++++++-
 sound/soc/soc-dapm.c                          |  45 ++----
 sound/soc/soc-pcm.c                           |  44 ++----
 8 files changed, 360 insertions(+), 101 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-10-25  1:14 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23  5:35 [PATCH v5 0/5] ASoC: makes CPU/Codec channel connection map more generic Kuninori Morimoto
2023-10-23  5:35 ` [PATCH v5 1/5] " Kuninori Morimoto
2023-10-24 14:24   ` Pierre-Louis Bossart
2023-10-24 23:11     ` Kuninori Morimoto
2023-10-23  5:35 ` [PATCH v5 2/5] ASoC: audio-graph-card2: add CPU:Codec = N:M support Kuninori Morimoto
2023-10-23  5:35 ` [PATCH v5 3/5] ASoC: audio-graph-card2-custom-sample: tidyup comment / numbering Kuninori Morimoto
2023-10-23  5:36 ` [PATCH v5 4/5] ASoC: audio-graph-card2-custom-sample: add CPU/Codec = N:M sample Kuninori Morimoto
2023-10-23  5:36 ` [PATCH v5 5/5] dt-bindings: audio-graph-port: add ch-map-idx property Kuninori Morimoto
2023-10-23 16:50   ` Conor Dooley
2023-10-23 18:47     ` Mark Brown
2023-10-24 15:27       ` Conor Dooley
2023-10-25  1:14         ` Kuninori Morimoto
2023-10-23 22:58     ` Kuninori Morimoto
2023-10-24 15:28       ` Conor Dooley
2023-10-24 22:56         ` Kuninori Morimoto
2023-10-24 20:24   ` Rob Herring
2023-10-24 23:06     ` Kuninori Morimoto

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).