MPC5200B AC97 support for recent kernel
Juergen Beisert
jbe at pengutronix.de
Fri Feb 8 01:51:51 EST 2008
Hi,
I'm using a 2.6.23 kernel and trying to get the AC97 running on my MPC5200B
based CPU card. I'm using a patch stack posted here last year. FEC and ATA
seems running correctly. Also the AC97 seems to run, but I can hear some
noise only. But ALSA does detect the external Wolfson codec and its
capabilities correctly, so I think the AC97 link works as expected.
Some things I noticed:
- I can control the volume of the noise with alsamixer
- the external codes outputs the correct clock (~12 MHz)
- the MPC5200B AC97 driver receives interrupts from the bestcomm unit (to
report progress to the pcm framework)
- everything seems ways too fast. A four minutes mp3 song is ready after
40 seconds
- I'm not sure: What type of data wants the AC97 PCS unit? AC97
data slots are 20 bits wide. int32_t or 24 bits per sample? Big endian?
- does it use interleave? Left, right, left, right, ... to be fed into AC97
data slot 3 and 4?
Any ideas?
Juergen
--
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Vertretung Sued/Muenchen, Germany
Phone: +49-8766-939 228 | Fax: +49-5121-206917-9
More information about the Linuxppc-dev
mailing list