Thanks. I got the code, included all the ASoc stuff in my local tree and rebuilt the kernel. If i understand the docs correctly I have to write a codec driver for my audio chip and some machine code to set up the particulars for my board (clocks, io pins etc.).
Am I missing something?
The codec we use has no control functions (no i2c/spi comm) it simply plays back the samples it reads on the i2s bus. This should thus translate to a simple codec driver. Is there a codec driver that uses i2s on the at91 that I can use as a base for my driver?
I haven't really understood yet how to include the machine code. Should this be done in the same way as the other platform drivers in arch/arm/mach-at91rm9200/board-xxx.c? Is there some sample code that I can use as a model?
Thanks again for the assistance.
Michel
On 4/17/07, Liam Girdwood lg@opensource.wolfsonmicro.com wrote:
On Tue, 2007-04-17 at 14:03 +0200, Michel Benoit wrote:
Hi Liam
Yes of course, I am very interested in getting my hands on a working driver for the at91 ssc controller. Where can I get a copy of the at91-ssc code?
The easiest way to get a copy is to clone the alsa-kernel Hg repository here :-
http://hg-mirror.alsa-project.org/alsa-kernel
Instructions for cloning can be found here :-
http://alsa-project.org/download.php
Liam