[alsa-devel] ASOC v2 driver structure
Liam Girdwood
lg at opensource.wolfsonmicro.com
Mon Jan 28 16:50:24 CET 2008
On Mon, 2008-01-28 at 09:14 -0500, Jon Smirl wrote:
> On 1/28/08, Liam Girdwood <liam.girdwood at wolfsonmicro.com> wrote:
> > On Sun, 2008-01-27 at 14:15 -0500, Jon Smirl wrote:
> > > On 1/27/08, Jon Smirl <jonsmirl at gmail.com> wrote:
> > > > I'm trying to write an asoc v2 driver for my powerpc based SOC
> > > > (mpc5200) hardware. We have two audio devices on the board, a WM8580
> > > > and a TAS5504. How do you do this with asoc v2? The card is created
> > > > in snd_soc_machine_create(); there seems to be an assumption of a
> > > > single card per machine.
> >
> > This was the initial assumption in v1. To be honest we were only
> > catering for single codec devices. In v2 we are allowing multiple cards
> > - struct machine is being refactored atm to make this more obvious.
>
>
> What about the Efika? It has SOC audio with a STAC9766 but it also has
> a PCI slot.
>
You can use a regular PCI audio driver and an ASoC driver on the same
device (they are both snd_cards).
Liam
More information about the Alsa-devel
mailing list