MPC52xx generic DMA using bestcomm
Jon Smirl
jonsmirl at gmail.com
Tue Jul 8 00:50:47 EST 2008
On 7/7/08, Matt Sealey <matt at genesi-usa.com> wrote:
>
> Jon Smirl wrote:
>
> > On 7/7/08, Matt Sealey <matt at genesi-usa.com> wrote:
> >
> > >
> > >
> > to do that the samples have to be alternated as they are fed into the
> > AC97 stream. I think the codec can capture that way too but you
> > didn't put a transceiver on the S/PDIF line.
> >
>
> OT, but the IDT STAC9766 doesn't support S/PDIF input, only output.
>
>
> > In my test driver you only get AC97 or S/PDIF. Grant and I are both
> > working on i2s drivers, when we get those sorted out it shouldn't be
> > too hard to add ac97 back in. That codec driver I sent you was about
> > 95% complete.
> >
>
> Indeed and to be honest I only gave it a short glance before having to
> do about a thousand other things, but I will take another peek some
> time this week :)
You should junk my PSC and DMA code and switch to the code Grant
recently posted. Codec should work as is. My PSC code is for a six
month old version of ASOC v2.
Grant's PSC driver needs to be split into a DMA library and i2s
driver. Then make an AC97 version based on his i2s driver that uses
the DMA library. Not hard once he splits the i2s driver.
We are getting closer to having full featured audio drivers for the
mpc5200 platform.
>
> --
> Matt Sealey <matt at genesi-usa.com>
> Genesi, Manager, Developer Relations
>
--
Jon Smirl
jonsmirl at gmail.com
More information about the Linuxppc-dev
mailing list