[alsa-devel] how to use mcbsp for i2s?

Ernesto Torres skullmate at gmail.com
Thu Apr 2 19:27:13 CEST 2009


thank you, I'll try it and let you know how it went

On Thu, Apr 2, 2009 at 10:56 AM, Jarkko Nikula <jhnikula at gmail.com> wrote:

> On Thu, 2 Apr 2009 13:20:36 +0300
> Jarkko Nikula <jhnikula at gmail.com> wrote:
>
> > > Grrr... cannot find the hack, I'm too keen to delete temporary
> > > hacks. I was
> > pretty sure I had
> > it somewhere.
> >
> > Basically it was adding necessary pin multiplexing configuration into
> > arch/arm/plat-omap/include/mach/mux.h and arch/arm/mach-omap2/mux.c
> > and then using omap_cfg_reg(...) in omap3beagle.c to change pin
> > configuration from
> > GPIOs to McBPS[1 | 3] pins.
> >
> Yes, I found it. Hack attached :-)
>
> Now I don't have here Beagle to test but hack still applies on top of
> linux-omap. Then you will need CONFIG_OMAP_MUX=y and following lines
> into omap3beagle.c or board-omap3beagle.c.
>
> omap_cfg_reg(AF6_3430_MCBSP3_DX);
> omap_cfg_reg(AE6_3430_MCBSP3_DR);
> omap_cfg_reg(AF5_3430_MCBSP3_CLKX);
> omap_cfg_reg(AE5_3430_MCBSP3_FSX);
>
>
> Jarkko
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>


-- 
___________
EhTd


More information about the Alsa-devel mailing list