AT91RM9200 + TLV320AIC23

26 views
Skip to first unread message

Lucas

unread,
Jan 5, 2010, 1:11:42 PM1/5/10
to linuxstamp
Hi Guys,
In this Oporunidades I am working to try to include
TLV320AIC23 codec support in our kernel, while the codec
is supported by the Linux kernel.
I followed basically the following steps:
* Add the definition of structure and direction of Codec
I2C on the board specific files in the Kernel
* Add the function parameters in the file i2c_add_device
specifics of the board in the Kernel
* I enabled the ALSA support in the Kernel
* Enable I2C support in the kernel, there are several, must be one
special?
* I enabled ALSA support in SOC and the compilation of the codecs
* Enable SSC support in the kernel
With that I get a kernel to start and try to start alsa, but no
failed to see the device, I get console a legend that says "No
register for DAI device "and then a notice that no sound card
was detected.
I think I must be forgetting a step, a step that someone sees me
or missing?
Greetings!
Lucas

Flavio de Castro Alves Filho

unread,
Jan 6, 2010, 4:19:12 PM1/6/10
to linux...@googlegroups.com
Hello Lucas,

I'm sorry, but I didn't understand what you intend to do.

Regards,

Flavio

Flavio de Castro Alves Filho
Phi Innovations - Embedded Software Services
www.phiinnovations.com
Phone: +55 11 84 94 56 76
Skype: flavio.de.castro.alves.filho


2010/1/5 Lucas <lloi...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "linuxstamp" group.
To post to this group, send email to linux...@googlegroups.com.
To unsubscribe from this group, send email to linuxstamp+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/linuxstamp?hl=en.




Lucas Loizaga

unread,
Jan 7, 2010, 5:10:28 AM1/7/10
to linux...@googlegroups.com
FLavio, 
Thannks for your answer, we need add sound support to Linux, my CPU is AT91RM9200 and my codec is TLV320AIC23.

Lucas
--
Lucas A. Loizaga
Ingenieria Inversa S.A.
Freescale Design House
http://www.ingenieria-inversa.com.ar

Flavio de Castro Alves Filho

unread,
Jan 7, 2010, 5:49:41 AM1/7/10
to linux...@googlegroups.com
Fine,

But are you using Linuxstamp for that? How is implemented your hardware.

I believe that the AT91RM9200 does not have audio support. It must be implemented external hardware for this. And it is not included in Linuxstamp design.

The audio support uses the same base components (alsa, for instance). But, building these components are directly related to the hardware. Depending on the board or processor you are using, different patches must be added into the Linux kernel source code in order to have the appropriate implementation.

Looking at your email ... you need some kind of audio card that communicates with the processor using the I2C communication protocol. Do you have this? This component is working properly?


Regards,

Flavio

Flavio de Castro Alves Filho
Phi Innovations - Embedded Software Services
www.phiinnovations.com
Phone: +55 11 84 94 56 76
Skype: flavio.de.castro.alves.filho


2010/1/7 Lucas Loizaga <lloi...@gmail.com>

Hayram Nicacio

unread,
Jan 7, 2010, 6:40:50 AM1/7/10
to linux...@googlegroups.com

Lucas,

According to Texas Instruments (your codec chipset manufacturer) you will have to migrate some code:
http://e2e.ti.com/support/data_converters/audio_converters/f/64/t/2513.aspx

Someone seems to have already done a few steps:
http://www.at91.com/forum/viewtopic.php/f,12/t,18855

Good luck.

Hayram.



2010/1/7 Flavio de Castro Alves Filho <flavio...@phiinnovations.com>

Flavio de Castro Alves Filho

unread,
Jan 7, 2010, 6:49:57 AM1/7/10
to linux...@googlegroups.com
Yes Lucas,

I believe that you will have to write your driver.

Good luck too


Flavio

Flavio de Castro Alves Filho
Phi Innovations - Embedded Software Services
www.phiinnovations.com
Phone: +55 11 84 94 56 76
Skype: flavio.de.castro.alves.filho


2010/1/7 Hayram Nicacio <hnic...@gmail.com>
Reply all
Reply to author
Forward
0 new messages