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

Ernesto Torres skullmate at gmail.com
Wed Apr 1 20:29:02 CEST 2009

I'm currently working in adding an external codec to the beagleboard, so far
the i2c control part is functional, now i want to use mcbsp3 to provide i2s

Is there any way to test the mcbsp to validate the connection?

Also, I've done little modifications to the omap3beagle.c to change from
mcbsp2 to mcbsp3, can someone validate this is correct?

static int __init omap3beagle_soc_init(void)

I changed to:
*(unsigned int *)omap3beagle_dai.cpu_dai->private_data = 2; /* McBSP3 */

It was:
*(unsigned int *)omap3beagle_dai.cpu_dai->private_data = 1; /* McBSP2 */

Is this correct? Or it should be changed in other places too?


More information about the Alsa-devel mailing list