[alsa-devel] How to use soc API without codec driver

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 8 15:51:04 CET 2009

On Tue, Dec 08, 2009 at 03:46:53PM +0100, Marc Garnier wrote:

> I need to receive and transmit PCM data through SSC port of a sam9261 to 
> a device which doesn't have any kind of I/O controls (neither i2c nor 
> spi). So, I wonder how to deal with the codec driver side.
> Someone could explain me what are the minimum requirements to write a 
> Asoc driver of this kind?

There's a couple of drivers for such CODECs in the tree already - have a
look at the wm8727 driver for one example.  You need to register at
least a DAI with whatever the capabilities of the hardware are and can
leave all the operations blank.

More information about the Alsa-devel mailing list