Re: CS4270 supported?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Timur,

On Tue, 2007-04-17 at 16:01 -0500, Timur Tabi wrote:
> I've never worked with ALSA before, but I'm about to start developing on an ALSA driver 
> for our hardware, which has a CS4270 on it attached via an I2S interface.  After scanning 
> the source code and mailing lists, I see no mention of the CS4270.  So does that mean I 
> would need to write an ASoC codec driver for the CS4270? 

You will need to write a codec driver for the CS4270 and a small machine
driver for your board (there are lots of examples in my git tree). The
codec driver will export mixers, configure the digital audio interface,
setup any codec PLL's etc. The machine driver glues the codec to your
platform and does any machine specific configuration e.g. gpio, clocks,
audio mux (on i.MXxx)  

I assume your either targeting the i.MX21/27 or i.MX31 ?

Fwiw, I've made a start to i.MX31 ASoC DMA (based on the Freescale BSP)
and I'm actively working on this atm. dev branch is here :-

http://opensource.wolfsonmicro.com/cgi-bin/gitweb/gitweb.cgi?p=linux-2.6-asoc;a=shortlog;h=dev

However, I don't have any bandwidth atm to work on i.MX21. 

>  If so, does the data sheet 
> (http://www.cirrus.com/en/pubs/proDatasheet/CS4270_PP1.pdf) contain enough information?
> 

I've had a quick look and I think you have all the information that will
be required for your driver.

More docs can be found here (must add to new ALSA Wiki) :-

http://opensource.wolfsonmicro.com/cgi-bin/gitweb/gitweb.cgi?p=linux-2.6-asoc;a=tree;f=Documentation/sound/alsa/soc;h=0e0bd3b2531b5c24a53a7cafd14046be7f15f524;hb=dev


Liam

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux