On 10/26/2012 3:45 AM, Liam Girdwood wrote: Hi Liam,
The codec DAI driver does register some of it's capabilities with the core.
The CODEC Bharath and I are working with has hardware providing information back to CPU so post processing modules running on CPU can fine tune things on the CODEC continuously.
So, the information need to exposed to CPU is more than supported rates, format, and channels but very CODEC specific.
I doubt that ASoC has mechanism for vendor's own CODEC driver to advertise CODEC specific information. However, we would like to check ahead of time before coming up with something on our own.
Thanks Patrick
The BE CPU dai driver can then read the capabilities of the codec and talk to the DSP.
You should be able to do this by looking at the RTD codec->driver pointer to get supported rates, formats and channels.
Regards
Liam
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel