[alsa-devel] [PATCH][ASoC v2] Update Freescale MPC8610HPCD fabric driver to support multiple codecs

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jun 13 15:42:06 CEST 2008


On Thu, Jun 12, 2008 at 10:57:39PM -0400, Jon Smirl wrote:

> In my model a lot of the code in your fabric driver would be pushed
> into the ssi driver. So if you used ssi and a codec in the standard
> manner, the board wouldn't need a fabric driver at all. That would
> probably be the case for most AC97/HDA systems.

I'd certainly like to see some standard support for setting up at least
AC97 DAI links automatically based on the probed codec.  That bit could
probably be done by the core.  HDA should be amenable to this model too
but I haven't looked at it in anything more than passing detail yet.

That's only part of the story, though.  What's much more tricky is
making the decision that you've got all the components for the sound
subsystem - for example, there are AC97 codecs like the WM9712 and
WM9713 which also have I2S interfaces.  You also get systems which need
to jump through hoops to set up the clocking since they're doing
non-standard things.  Simple systems would probably need an explict flag
to say that they could be handled as such, which isn't a million miles
off having something to load a generic machine driver.

Things get a lot more tricky for I2S due to the complexity of the
available clocking configurations - there are so many possible ways of
connecting devices, especially once you start to take into account codec
internal clocking and systems which support more than two devices 


More information about the Alsa-devel mailing list