On 10/5/07, Liam Girdwood lg@opensource.wolfsonmicro.com wrote:
A good place to start would be looking at the other supported architectures and codecs and see what fits in best with your target SoC CPU. Fwiw, Timur Tabi has some working PPC code, although I'm not sure if it will work on Efika.
Efika is STAC9766, ac97 with no i2c control. I dug into the imx ac97 driver and discovered that it isn't finished.
Timur, we may need to get some Bestcomm tasks written. I haven't explored this yet but I've been told that no one can get anything except the general DMA task working for audio. This mean all audio input has to be 32b. Isn't Bestcomm capable of expanding 16/24 bit data? Our target hardware is i2s, not ac97, so I need to get i2s running too.
I usually start with the I2S driver and the codec in slave mode. Then move onto the DMA when I see the I2S bits toggling correctly. After the DMA is up and running I can complete the codec and I2S drivers.
Sounds like a good plan. I already have a working driver for the Efika so this shouldn't be two bad. It just need to be rearranged.