[Sound-open-firmware] about SOF 1.2 topology support
Liam Girdwood
liam.r.girdwood at linux.intel.com
Mon May 28 15:43:03 CEST 2018
On Mon, 2018-05-28 at 18:24 +0800, Keyon Jie wrote:
> Hi Liam,
>
> During enabling #1, I found that we may need create snd_soc_dai_driver
> dynamically, currently we only have one cpu_dai for SOF, how do you
> think we should change for multiple cpu_dai support, or we actually
> don't need that?
>
> Thanks,
> ~Keyon
>
> /*
> * SOF Device Level.
> */
> struct snd_sof_dev {
> ...
> /* ASoC components */
> struct snd_soc_platform_driver plat_drv;
> const struct snd_soc_component_driver *cmpnt_drv;
> struct snd_soc_dai_driver dai_drv; //Liam: we have only one dai_
> driver
> here.
The SOF DAI driver is a dummy type, so it has no logic, it's only used for
binding DAI links. i.e. it does not matter when used to bind SSP and DMICs.
> int num_dai; // Liam: so we can't support > 1 dais here?
Yes, untested.
> ...
> }
>
Liam
More information about the Sound-open-firmware
mailing list