[alsa-devel] [PATCH 3/3] Add ALSA driver for Atmel AC97 controller

Hans-Christian Egtvedt hans-christian.egtvedt at atmel.com
Wed Feb 4 13:15:05 CET 2009


On Wed, 4 Feb 2009 12:00:52 +0000
Mark Brown <broonie at sirena.org.uk> wrote:

> On Wed, Feb 04, 2009 at 12:48:34PM +0100, Hans-Christian Egtvedt
> wrote:
> > This patch adds ALSA support for the AC97 controller found on Atmel
> > AVR32 devices.
> 
> > Tested on ATSTK1006 + ATSTK1000 with a development board with a AC97
> > codec.
> 
> > Signed-off-by: Hans-Christian Egtvedt
> > <hans-christian.egtvedt at atmel.com>
> 
> Just glancing over the code here this looks very like the code for the
> AT91 AC97 controller which Sedji (CCed) has posted in the past.  Is it
> possible to share the same driver for both chips, like we're doing
> with the ASoC drivers for the two architectures?  It'd make life
> easier if that were possible and I know there's a lot of people
> interested in the AT91 support for mainline.

Yes, it should be possible to share the AC97C driver between AT91 and
AVR32. Although this AC97C driver uses the DesignWare DMAC controller
(drivers/dma/dw_dmac.c).

I do not remember which DMA interface AT91 devices uses.

Should the driver go into sound/drivers then? And renamed to
atmel-ac97c.{c,h} for example.

-- 
Best regards,
Hans-Christian Egtvedt


More information about the Alsa-devel mailing list