[alsa-devel] Question on snd_soc_dai_link
Liam Girdwood
lg at opensource.wolfsonmicro.com
Tue May 29 16:51:48 CEST 2007
On Tue, 2007-05-29 at 09:36 -0500, Timur Tabi wrote:
> Liam Girdwood wrote:
>
> >
> > Please let me know if I'm way off here. The device tree looks like an
> > elegant solution for machine initialisation/description.
>
> I'm going to study this and run it by others in my department (we handle all the Linux architectural issues for Freescale SOCs). I can tell you that you're very close, but it will require some tweaks. Off the top of my head, I see a few problems:
>
> 1) The I2C addresses are specified in a separate I2C node
> 2) I don't know much about the 5200, but on my part, the DMA operations are provided by the I2S device. We don't use the generic DMA engine.
Fwiw, ASoC splits out the audio DMA code from I2S, AC97 or PCM
controllers as there isn't too much difference between audio DMA code
for each interface. Any controller specific data is passed in at
hw_params time (by the I2S/AC97/PCM controller driver) to configure
addresses, width, etc
Liam
More information about the Alsa-devel
mailing list