From: Mengdong Lin mengdong.lin@linux.intel.com
This version 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, 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 BE 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.
Mengdong Lin (11): ASoC: topology: Make manifest backward compatible from ABI v4 ASoC: topology: Make PCM backward compatible from ABI v4 ASoC: topology: Support topology file of ABI v4 ASoC: topology: ABI - Add flags and private data to PCM ASoC: topology: ABI - Define DAI physical PCM data formats 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
include/sound/soc-dai.h | 15 +- include/sound/soc.h | 3 + include/uapi/sound/asoc.h | 89 +++++++- sound/soc/soc-core.c | 42 ++++ sound/soc/soc-topology.c | 551 +++++++++++++++++++++++++++++++++++++++++----- 5 files changed, 627 insertions(+), 73 deletions(-)