Thread (88 messages) 88 messages, 11 authors, 2008-01-10

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

From: Mark Brown <hidden>
Date: 2008-01-07 18:29:04
Also in: alsa-devel

On Mon, Jan 07, 2008 at 09:52:03AM -0600, Timur Tabi wrote:
David Gibson wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help