Skip to content

ASoC: topology: Remaining kernel patches

[email protected] alsa-devel 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest11 patches 9 repliesIn review
  2. v611 patches 7 repliesSuperseded
  3. v511 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v411 patches2 repliesSuperseded
v38 patches3 repliesSuperseded
v211 patches5 repliesSuperseded
v113 patches12 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ASoC: topology: Make PCM backward compatible from ABI v4sound/soc/soc-topology.c+133 -122 replies
2/11ASoC: topology: Only use valid names of PCM for the kernel DAI & DAI linksound/soc/soc-topology.c+14 -41 reply
3/11ASoC: topology: Support topology file of ABI v4include/uapi/sound/asoc.h sound/soc/soc-topology.c+5 -20 replies
4/11ASoC: topology: ABI - Add flags and private data to PCMinclude/uapi/sound/asoc.h sound/soc/soc-topology.c+34 -21 reply
5/11ASoC: topology: ABI - Update physical DAI link configuration for version 5include/uapi/sound/asoc.h+44 -20 replies
6/11ASoC: Define API to find a dai linkinclude/sound/soc.h sound/soc/soc-core.c+45 -00 replies
7/11ASoC: topology: Add support to configure existing physical DAI linkssound/soc/soc-topology.c+204 -22 replies
8/11ASoC: topology: Rename the function to create a FE linksound/soc/soc-topology.c+2 -20 replies
9/11ASoC: topology: ABI - Rename struct and type for physical DAIsinclude/uapi/sound/asoc.h sound/soc/soc-topology.c+12 -110 replies
10/11ASoC: topology: Rename functions & variables for physical DAIssound/soc/soc-topology.c+29 -280 replies
11/11ASoC: topology: ABI - Add voice wake up flag for DAI linksinclude/uapi/sound/asoc.h sound/soc/soc-topology.c+6 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 00/11] ASoC: topology: Remaining kernel patches

From: Mengdong Lin <[email protected]>

This series can support old topology ABI v4 in a backward compatible way, assuming users start to use topology from ABI v4 with alsa-lib v1.1.0.

This series contains all remaining kernel patches of topology of ABI v5, including some ABI update to PCM (FrontEnds) and link (BackEnds) objects. Kernel can support topology files generated by ABI v4 without these updates.

User will be able to config existing physical DAI links, configure more for FE links. Code are verified and can cover reqeust of Intel pre-release platforms for next year, so ABI should be stable.

Current kernel topology code does not really touch Codec-Codec links since there is no user requst atm. We can add support for CC links later by reusing code and data structures for physical links, and no need to revise ABI.

History:
v2: Add the reason for creating BE DAI & DAI links by topology to commit
message.
Drop support for configuring DPCM trigger ordering in topology.

v3: Topology no longer creates BE DAI or BE DAI links, but only configure
existing ones. The API to find a DAI link can also check the name and stream name in case a soc card doesn't use unique ID for DAI links. The user space code is also ready.

v4: Support ABI udpate and be backward compatible for topology ABI v4.
Code refactoring to configure physical DAIs.

v5: Minor code refactoring and modification on commit messages.

v6: Change the variable of physical DAI count in manifest from
"be_dai_elems" to "dai_elems", backward compatible.

v7: Remove 2 v6 patches that have been merged.
Split ABI update and non-ABI fix for PCM to seperate patches. No use asoc specific flags "ignore_suspend" & "ignore_powerdown_time" for links, but add a flag for voice wake up (the last patch).

Mengdong Lin (11):
ASoC: topology: Make PCM backward compatible from ABI v4
ASoC: topology: Only use valid names of PCM for the kernel DAI & DAI
link
ASoC: topology: Support topology file of ABI v4
ASoC: topology: ABI - Add flags and private data to PCM
ASoC: topology: ABI - Update physical DAI link configuration for
version 5
ASoC: Define API to find a dai link
ASoC: topology: Add support to configure existing physical DAI links
ASoC: topology: Rename the function to create a FE link
ASoC: topology: ABI - Rename struct and type for physical DAIs
ASoC: topology: Rename functions & variables for physical DAIs
ASoC: topology: ABI - Add voice wake up flag for DAI links

 include/sound/soc.h       |   3 +
 include/uapi/sound/asoc.h |  73 +++++++-
 sound/soc/soc-core.c      |  42 +++++
 sound/soc/soc-topology.c  | 463 +++++++++++++++++++++++++++++++++++++++++-----
 4 files changed, 522 insertions(+), 59 deletions(-)
Signature · 1 line
2.7.4