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

Jarkko Nikula jhnikula at gmail.com
Thu Apr 2 18:56:53 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-OMAP-Hack-add-some-OMAP3-McBSP-muxing.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090402/1c26918f/attachment-0001.bin 


More information about the Alsa-devel mailing list