Skip to contentSkip to conversation

Where can I find some info about the DAI?

DISCUSSION Sedji Gaouaou 3 participants 5 messages Sep 8, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying to write a DAI.
I am working with a wolfson wm8731 and an atmel at91sam9g20. Basically I had a look at the file eti_b1_wm8731.c, but I would like to use another ssc archi(atmel_ssc instead of at91_ssc).
So I would like to know where should I find some info concerning the DAI.

Regards,
Sedji

#1 lore raw
Quoted 8 lines · Sedji Gaouaou

Hi,

I am trying to write a DAI.
I am working with a wolfson wm8731 and an atmel at91sam9g20. Basically I had a look at the file eti_b1_wm8731.c, but I would like to use another ssc archi(atmel_ssc instead of at91_ssc).
So I would like to know where should I find some info concerning the DAI.

Have you looked in Documentation/sound/alsa/soc ?

Liam

#2 lore raw

Hi Liam,

Quoted 5 lines · Liam Girdwood

Have you looked in Documentation/sound/alsa/soc ?

Liam

Yes, but I can't find anything regarding the cpu_dai. There some documentation about the codeac DAI, but nothing about the cpu one. I was wondering if there is any update concerning this documentation?

Sedji

#3 lore raw
Quoted 5 lines · Sedji Gaouaou

Hi Liam,

Quoted 2 lines · Liam Girdwood

Have you looked in Documentation/sound/alsa/soc ?

Quoted 8 lines
Quoted 3 lines

Liam

Yes, but I can't find anything regarding the cpu_dai. There some documentation about the codeac DAI, but nothing about the cpu one. I was wondering if there is any update concerning this documentation?

It's the same thing (struct) now. Documentation probably needs updated to reflect this.

If you are starting a DAI driver from scratch then it's best to look at the other CPU dai drivers as examples.

Liam

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#4 lore raw
In reply to Sedji Gaouaou
Quoted 5 lines · Sedji Gaouaou

I am trying to write a DAI.
I am working with a wolfson wm8731 and an atmel at91sam9g20. Basically I had a look at the file eti_b1_wm8731.c, but I would like to use another ssc archi(atmel_ssc instead of at91_ssc).
So I would like to know where should I find some info concerning the DAI.

There is some documentation in Documentation/sound/alsa/soc which may be helpful. It should also be useful to refer to existing drivers for examples of how to do things - the PXA and S3C24xx architectures get much of the attention here so are among the best places to look.

If you run into trouble please just ask here.