Skip to content

ASoC: SOF: ipc4: Add support for formats per pins

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ASoC: SOF: rename a couple of tokensinclude/uapi/sound/sof/tokens.h+2 -20 replies
2/11ASoC: SOF: Use input/output pin consistentlyinclude/uapi/sound/sof/tokens.h sound/soc/sof/ipc4-topology.c sound/soc/sof/sof-audio.h +1 more+86 -860 replies
3/11ASoC: SOF: ipc4-topology: Add a new field in struct sof_ipc4_available_audio_formatsound/soc/sof/ipc4-pcm.c sound/soc/sof/ipc4-topology.c sound/soc/sof/ipc4-topology.h+65 -580 replies
4/11ASoC: SOF: ipc4-topology: Do not parse the DMA_BUFFER_SIZE tokeninclude/uapi/sound/sof/tokens.h sound/soc/sof/ipc4-topology.c sound/soc/sof/ipc4-topology.h +2 more+52 -690 replies
5/11ASoC: SOF: ipc4-topology: Parse the SOF_COMP_TOKENS only oncesound/soc/sof/ipc4-topology.c+24 -170 replies
6/11ASoC: SOF: ipc4-topology: Always parse the output formats in topologysound/soc/sof/ipc4-topology.c+6 -160 replies
7/11ASoC: SOF: ipc4-topology: Modify the type of available input/output formatsinclude/uapi/sound/sof/tokens.h sound/soc/sof/ipc4-pcm.c sound/soc/sof/ipc4-topology.c +3 more+96 -1170 replies
8/11ASoC: SOF: ipc4-topology: Modify the signature of sof_ipc4_init_audio_fmt()sound/soc/sof/ipc4-topology.c+17 -210 replies
9/11ASoC: SOF: ipc4-topology: Remove the ref_audio_fmt fieldsound/soc/sof/ipc4-topology.c sound/soc/sof/ipc4-topology.h+18 -260 replies
10/11ASoC: SOF: ipc4-topology: Add new tokens for input/output pin format countinclude/uapi/sound/sof/tokens.h sound/soc/sof/ipc4-topology.c sound/soc/sof/ipc4-topology.h +1 more+116 -770 replies
11/11ASoC: SOF: ipc4-topology: Search only pin 0 formatssound/soc/sof/ipc4-topology.c+4 -10 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchRander WangBard LiaoPéter UjfalusiPierre-Louis Bossart
1/11R-b R-b R-b R-b
2/11R-b R-b R-b R-b
3/11R-b R-b R-b R-b
4/11R-b R-b R-b R-b
5/11R-b R-b R-b R-b
6/11R-b R-b R-b R-b
7/11R-b R-b R-b R-b
8/11R-b R-b R-b R-b
9/11R-b R-b R-b R-b
10/11R-b R-b R-b R-b
11/11R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/11] ASoC: SOF: ipc4: Add support for formats per pins

Hi,

The modules in IPC4 can have multiple 'pins' on their input and output and these pins can receive or output audio in different formats.
Currently we assume that all pins are using the same format which is a limitation that needs to be lifted in order to support more complex components.

This series will extend and rework the format handling to allow different formats on pins.

Regards,
Peter
---

Ranjani Sridharan (11):
ASoC: SOF: rename a couple of tokens
ASoC: SOF: Use input/output pin consistently
ASoC: SOF: ipc4-topology: Add a new field in struct
sof_ipc4_available_audio_format
ASoC: SOF: ipc4-topology: Do not parse the DMA_BUFFER_SIZE token
ASoC: SOF: ipc4-topology: Parse the SOF_COMP_TOKENS only once
ASoC: SOF: ipc4-topology: Always parse the output formats in topology
ASoC: SOF: ipc4-topology: Modify the type of available input/output
formats
ASoC: SOF: ipc4-topology: Modify the signature of

    sof_ipc4_init_audio_fmt()

ASoC: SOF: ipc4-topology: Remove the ref_audio_fmt field
ASoC: SOF: ipc4-topology: Add new tokens for input/output pin format
count
ASoC: SOF: ipc4-topology: Search only pin 0 formats

 include/uapi/sound/sof/tokens.h |  20 +-
 sound/soc/sof/ipc4-pcm.c        |   2 +-
 sound/soc/sof/ipc4-topology.c   | 529 +++++++++++++++-----------------
 sound/soc/sof/ipc4-topology.h   |  36 ++-
 sound/soc/sof/sof-audio.h       |  35 +--
 sound/soc/sof/topology.c        | 124 ++++----
 6 files changed, 371 insertions(+), 375 deletions(-)
Signature · 1 line
2.39.2