[alsa-devel] [PATCH V3 3/4] Support for AC97 on Phytec pmc030 base board.

Jon Smirl jonsmirl at gmail.com
Mon May 25 16:39:27 CEST 2009

On Mon, May 25, 2009 at 2:34 AM, Grant Likely <grant.likely at secretlab.ca> wrote:
> On Sun, May 24, 2009 at 7:38 PM, Jon Smirl <jonsmirl at gmail.com> wrote:
> This is ugly.  I'd really rather have a generic mechanism for creating
> a fabric driver based on the OF data.  But failing that, it seems to
> me that this platform device registration should be done in the
> platform code (arch/powerpc/platforms/52xx).  Doing it in a module
> init looks wrong.

I'm all for deleting it as soon as AC97 is capable of auto-loading.  I
thought it was better to leave it in the sound directories to keep it
isolated since the intention is to remove it when possible.

BTW, my binding files are quite simple compared to mpc8610_hpcd.c.

> I was trying to do a sort of generic matching mechanism with the of
> simple stuff; but admittedly it was hacky and half-assed.  However, I
> do still think it is viable to have OF hooks that kick in when codec
> and machine drivers are registered.  If linkage data is encoded in the
> device tree, then generic code should be able to hook them up; pulling
> additional data out of the device tree as needed to configure the
> coded.
> g.
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.

Jon Smirl
jonsmirl at gmail.com

More information about the Alsa-devel mailing list