OSDN Git Service

ASoC: topology: ABI - Update physical DAI link configuration for version 5
authorMengdong Lin <mengdong.lin@linux.intel.com>
Wed, 2 Nov 2016 17:03:52 +0000 (01:03 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2016 16:35:26 +0000 (10:35 -0600)
commit676c6b5208f7ce6ccc7933ab210f24358ca99a7a
tree79d634cfb493160cdbcab66d8e91ed50d7925d05
parent717a8e7235377fa50f074c407cc5d0486aa15aa2
ASoC: topology: ABI - Update physical DAI link configuration for version 5

The following fields are added to physical link configuration struct
(snd_soc_tplg_link_config) in ABI v5:

- name and stream name
  Topology will use them to find an existing physical link and configure
  it.

- HW configurations
  Define the types and ABI struct for runtime supported hardware configs
  of physical DAI links, e.g. audio hardware formats. The default HW
  config ID will help topology to find the DAI format to set on init.
  Topology provides this as a fallback if such HW settings are not
  available in ACPI or device tree, to avoid hard code in drivers. It's
  only for config items that can be programmed by SW or FW, not for
  physical things like link connections or GPIO used for HP etc.

- flags and private data
  The flags will be used to configure an existing physical DAI link.
  The private data is reserved for future extension.

NOTE: Current kernel has no support for physical links. A later patch
will add support for configuring physical links and make the support
backward compatible for ABI v4.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/asoc.h