[alsa-devel] [PATCH] ASoC drivers for the Freescale MPC8610 SoC

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Jan 7 19:28:54 CET 2008


On Mon, Jan 07, 2008 at 09:52:03AM -0600, Timur Tabi wrote:
> David Gibson wrote:

> > Ok, but couldn't you strucutre your I2S or fabric driver so that it
> > only becomes fully operational once the codec driver has registered
> > with it?

> Not in ASoC V1.  You have to understand, ASoC V1 was designed without any 
> consideration for runtime-bindings and other OF goodies.  All connections 
> between the drivers are static, literally.  In fact, I wouldn't be surprised if 
> some ASoC drivers cannot be compiled as modules.

I'd just like to emphasise this point - ASoC v1 really doesn't
understand the idea that the components of the sound subsystem might be
probed separately.  It's set up to handle bare hardware with everything
being probed from code in the machine/fabric driver.  This makes life
very messy for platforms with something like the device tree.

As has been said, handling this properly is one of the major motivations
behind ASoC v2.

> So all I'm trying to do now is get my driver, with warts and all, into the tree 
> so that I can focus with Liam et al to get a real ASoC V2 up and running.

This is certainly the approach we want to take from an ASoC point of
view.


More information about the Alsa-devel mailing list