On Mon, Feb 18, 2008 at 12:07:40PM -0600, Brian Austin wrote:
say I have 4 low power codecs and I want these codecs to be supported by say NXP, SMDK24XX, FSL, and EP9X. Then I would need to write the machine code for each codec on each dev board? Then allow the Kconfig to select what codecs I have for each machine.
correct?
Yes.
In thinking ahead, I can see how this will mean that in the future we can have to option of several codecs per machine. I guess that's the deal with v2. cool
The main thing with v2 from the point of view of codec discovery is that it removes the requirement that v1 has that the codec driver be loaded initialised the machine driver. That creates problems if your system is able to discover the control interface for the codec through some other means like the PowerPC device trees.
You can have multiple runtime codec options per machine with v1, it just has to be implemented in the machine driver and you end up having to compile in all the codec drivers you might need all the time.
so when I submit the CS42L52, I just need to .c and .h and a mod'ed Kconfig for sound/soc/codecs. fair enough
Yes, exactly.