[alsa-devel] [PATCH v2 00/10] ASoC: support adding PCM dynamically from topology

Lars-Peter Clausen lars at metafoo.de
Sat Aug 15 09:56:24 CEST 2015


On 08/10/2015 04:45 PM, mengdong.lin at intel.com wrote:
> From: Mengdong Lin <mengdong.lin at intel.com>
> 
> This series allows the topology core to create PCM devices dynamically.
> The user can define different DAIs in the topology files for different
> versions of firmware, but share a generic platform and machine driver.
> 
> A dummy DAI and DAI link can be used to register the soc card and specify
> the platform with topology. Then real DAIs are created in platform probing
> phase by the topology core, and the machine driver will be notified to create
> relavant DAI links.

This all sounds as if the dynamically loaded topology information does not
describe dynamic topology, e.g. like DSP firmware, but rather the static
topology that would usually come from things like devicetree or ACPI. Maybe
you need to rethink when the topology information is loaded and make sure
that the parts that describe the static topology are available before the
card is instantiated.

- Lars


More information about the Alsa-devel mailing list