[alsa-devel] ASoC v2 on PowerPC
lg at opensource.wolfsonmicro.com
Fri Oct 5 13:07:57 CEST 2007
On Thu, 2007-10-04 at 13:12 -0400, Jon Smirl wrote:
> I'm looking into write a ASoC v2 driver for the Efika. Efika uses a
> Freescale MPC5200B and a STAC9766. This is a practice driver before
> writing one for our target hardware (which doesn't work yet, same CPU
> but different codec).
> I've brought the changes from wolfson/asoc-v2-dev into my powerpc tree
> and got a couple of config errors with ARCH=powerpc.
> sound/soc/pxa/Kconfig:23:warning: 'select' used by config symbol
> 'SND_PXA2XX_SOC_SSP' refers to undefined symbol 'PXA_SSP'
> sound/soc/au1x/Kconfig:35:warning: 'select' used by config symbol
> 'SND_SOC_EXM1200_SSI' refers to undefined symbol 'SND_SOC_CS4251X'
Thanks, I'll fix this.
> Suggestions on the best way to start? Target hardware also has a WM8804 on it.
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.
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.
More information about the Alsa-devel