[Sound-open-firmware] Multiple configurations per DAI in topology

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Fri Mar 15 17:37:20 CET 2019


On Thu, 2019-03-07 at 18:02 +0200, Dragos Tarcatu wrote:
> Hi Pierre,
> > There are two issues here:
> > 1. we really want the topology to contain more than one
> > configuration, 
> > and let the kernel pass the relevant one based on current usage so 
> > that the correct bclk, mclk etc are used. This is not supported 
> > currently. I just re-added this issue for the Linux kernel and
> > topoplogy.
> > 
> > 2. the PR 630 https://github.com/thesofproject/sof/issues/630 is
> > about 
> > combining or splitting information between DAIs, or possibly from
> > a 
> > single TDM DAI. This is more of a firmware logic part, not really 
> > something related to the configuration of the hardware registers 
> > controlling the interface.
> > 
> > Does this help?
> > Regards
> > -Pierre
> 
> Yeah, that's what I wanted to find out. I've spent some time today 
> looking a bit more throughout the firmware and drivers and it seems
> to 
> me that the SSP configuration is being set up once when the DAI link
> is 
> being created, am I right? And if I'm not mistaken, that's only 
> happening when the topology is being processed by sending some IPC 
> message from the driver.
Hi Dragos,
Yes, you are right about this. This happens at the time of topology
parsing in the link_load() driver callback.

Thanks,
Ranjani
> 
> Thanks,
>      Dragoș
> 
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware



More information about the Sound-open-firmware mailing list