8 Dec
2009
8 Dec
'09
3:51 p.m.
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.