Subject: Re: [alsa-devel] [PATCH 1/2] powerpc: add platform registration for ALSA SoC drivers

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 29 Apr 2010 10:50:14 +1000

On Wed, 2010-04-28 at 15:35 -0500, Timur Tabi wrote:
> Second, how about this binding for the virtual sound node?  It would
> be a root-level node.
> 
>         sound-devices {
>                 sound0 {
>                         ssi = &ssi0;
>                         playback-dma = &dma00;
>                         capture-dma = &dma01;
>                         codec = &cs4270;
>                 }
>         }; 

Make sure you also have a "compatible" property to uniquely identify the
design. You could use the toplevel board one but I'd rather keep a
separate one here. I've seen case where the exact same base board may
have different sound components (because they are dautherboards for
example, but there's a few other cases). 

Cheers,
Ben.