]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Add topology core
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Fri, 29 May 2015 18:06:14 +0000 (19:06 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jun 2015 08:40:03 +0000 (09:40 +0100)
commit2bab69ba59f8e8ed8cc2d2490e7b9db8a9e54900
tree233bc05d70fbd10c65affe8110da5ef916548962
parentf9ca389bc95e77a8d4195bfd06e6a4bbd882adaf
ASoC: topology: Add topology core

The topology core parses the FW topology file for known block types and
instanciates any common ALSA/ASoC objects that it discovers. The core
also passes any block that is does not understand to client component
drivers for enumeration.

The core exports some APIs to client drivers in order to load and unload
firmware topology data as use case require.

Currently the core deals with the following object types :-

 o kcontrols. This includes TLV, enumerated and bytes controls.
 o DAPM widgets. All types with any associated kcontrol.
 o DAPM graph.
 o FE PCM. FE PCM capabilities and configuration can be defined.
 o BE DAI Link. BE DAI link capabilities and configuration can be defined.
 o Codec <-> codec style links capabilities and configuration.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
include/sound/soc-topology.h [new file with mode: 0644]
include/sound/soc.h
sound/soc/Makefile
sound/soc/soc-core.c
sound/soc/soc-topology.c [new file with mode: 0644]