OSDN Git Service

topology: ABI - Update physical DAI link configurations to ABI v5
authorMengdong Lin <mengdong.lin@linux.intel.com>
Sun, 6 Nov 2016 05:13:08 +0000 (13:13 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Nov 2016 15:33:17 +0000 (16:33 +0100)
commit50e7190d35be5072c5ac859e4dad7bc6d5c74e25
treee4ca8d8188e8a22cda8898fe7073aa948b7c2b17
parent3b4e53624d2dd754dc6423eae166726addd4aef6
topology: ABI - Update physical DAI link configurations to ABI v5

This patch update physicals DAI link config to ABI v5:

- Define the types and ABI struct for runtime supported hardware configs
  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.

- Add flags. The flags will be used to configure an existing physical
  links.

- Add private data. The private data is reserved for future extension.

- Add name and stream name to physical DAI links. Kernel can also use name
  and stream name to find an existing physical link and configure it.

Kernel can handle the ABI update in a backward compatible way via patch
'ASoC: topology: Add support to configure existing physical DAI links'.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/asoc.h