Skip to contentSkip to conversation

I2S driver

DISCUSSION Angelo 6 participants 6 messages Mar 3, 2008

lore
Share & tools
lore

Angelo

author
#0 lore raw

Hi my name is Angelo.

I'm working on I2S driver, on MPC5200b board.
Does anyone tell me where i can found some information on HOW to write it?

Thanks for help.

---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

#1 lore raw

Hello Ngelo,

Quoted 1 line · On Monday 03 March 2008 13:08:43 Angelo wrote:

I'm working on I2S driver, on MPC5200b board.

An ALSA sound driver?

If yes, there are many places where you can find documentation. If not, there are still many places where you can find documentation.

Could you please specify more precisely what you want to do or where you are having problems.

Roman

=2D-=20
Roman Fietze Telemotive AG B=FCro M=FChlhausen

#2 lore raw
Quoted 11 lines · Roman Fietze
Quoted 1 line · On Monday 03 March 2008 13:08:43 Angelo wrote:

I'm working on I2S driver, on MPC5200b board.

An ALSA sound driver?

If yes, there are many places where you can find documentation. If not, there are still many places where you can find documentation.

Could you please specify more precisely what you want to do or where you are having problems.

If you are working on an audio device in an embedded system you probably want to use the ALSA SoC subsystem - have a look at Documentation/sound/alsa/soc and sound/soc for information. There is a development git tree for this availiable at:

git://opensource.wolfsonmicro.com/linux-2.6-asoc

#3 lore raw
In reply to Angelo

Angelo wrote:
=20

Quoted 4 lines

Hi my name is Angelo.
=20
I'm working on I2S driver, on MPC5200b board.
Does anyone tell me where i can found some information on HOW to write it=

?

Quoted 3 lines

=20
Thanks for help.
=20

Hello Angelo,
depends on which kernel version are you using. You can find some working co= de in DENX repository:
http://source.denx.net/cgi-bin/gitweb.cgi
=20
I can also send you some GPL'd code that works. It is extremely bad comment= ed (:-p) and probably not useful (it's not an ALSA driver itself, but it us= es the DMA to copy data to the PSC - I2S mode) but it works. But this code = is based on 2.6.16 kernel.

Tell me the version and I would guide you a little bit. =20
Regards,
Pedro.

_________________________________________________________________
MSN Video.=20
http://video.msn.com/?mkt=3Des-es=

#4 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

depends on which kernel version are you using. You can find some working code in DENX repository:
http://source.denx.net/cgi-bin/gitweb.cgi

Ah, you should use the official server instead:

http://www.denx.de/cgi-bin/gitweb.cgi

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
    \|/ ____ \|/                                     \|/ ____ \|/
     @~/ ,. \~@                                       @~/ ,. \~@
    /_( \__/ )_\                                     /_( \__/ )_\
       \__U_/                                           \__U_/
#5 lore raw
In reply to Angelo
Quoted 4 lines · Angelo

Hi my name is Angelo.

I'm working on I2S driver, on MPC5200b board.
Does anyone tell me where i can found some information on HOW to write it?

I wrote an ASoC driver for the MPC8610, which also has an I2S interface. You can find it in sound/soc/fsl.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale