On Tue, Aug 18, 2015 at 05:17:36AM +0000, Lin, Mengdong wrote:
I feel it's not enough to just "adding constraints to a fully defined link" for FE DAIs. We need to determine the number of FE DAIs (thus FE DAI links as well) for a specific version of FW based on its topology info.
There's two things going on here. One is configuring the limits on the DAIs that represent physical connections in the system, the other is creating new fully software DAIs for DSP<->AP links. The two cases are separate.
If you prefer not using any dummy DAI link but creating the links from scratch when we detect them in firmware, can we add new field into "struct snd_soc_card" to specify the components for topology? After all, topology may not only come from the platform component.
We need to come up with some mechanism for it. I'm not clear what a new field in the card would be, I'd more expect some runtime calls from the topology code but perhaps there's some way of doing this in a data driven way that I've just not thought of.