mbox series

[0/4] ASoC: makes CPU/Codec channel connection map more generic

Message ID 87bkd78e88.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
Headers show
Series ASoC: makes CPU/Codec channel connection map more generic | expand

Message

Kuninori Morimoto Oct. 10, 2023, 1:20 a.m. UTC
Hi Mark
Cc Bard, Pierre-Louis

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

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

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

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: ch_maps property

 .../bindings/sound/audio-graph-port.yaml      |   2 +
 include/sound/soc.h                           |  48 +++++-
 .../audio-graph-card2-custom-sample.dtsi      | 138 +++++++++++++++---
 sound/soc/generic/audio-graph-card2.c         |  29 ++++
 sound/soc/intel/boards/sof_sdw.c              |  14 +-
 sound/soc/soc-core.c                          |  83 +++++++++++
 sound/soc/soc-dapm.c                          |  47 +++---
 sound/soc/soc-pcm.c                           |  73 ++++-----
 8 files changed, 343 insertions(+), 91 deletions(-)

Comments

Pierre-Louis Bossart Oct. 10, 2023, 1:43 p.m. UTC | #1
On 10/9/23 21:20, Kuninori Morimoto wrote:
> 
> Hi Mark
> Cc Bard, Pierre-Louis
> 
> Current ASoC is supporting CPU/Codec = N:M (N < M) connection by using
> ch_map idea. This patch expand that all connection uses this idea,
> and no limit of N < M [1].
> 
> This patch is tested on Audio-Graph-Card2 with sample dtsi,
> but needs Tested-by, at least from Intel.

We can test the next version (comments in separate mail) but we don't
have a configuration with more cpu dais than codec dais I am afraid, so
the best we can contribute is a non-regression for the N < M case.