[alsa-devel] [PATCH v7 00/11] ASoC: topology: Remaining kernel patches

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Wed Nov 2 17:59:55 CET 2016


From: Mengdong Lin <mengdong.lin at linux.intel.com>

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

-- 
2.7.4



More information about the Alsa-devel mailing list