29 May
2007
29 May
'07
4:51 p.m.
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:
- The I2C addresses are specified in a separate I2C node
- 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