On Wed, 11 May 2011 14:31:46 -0700
Steve Calfee <stevecal...@gmail.com> wrote:

> On 05/11/11 11:16, Steve Calfee wrote:
> New title, more appropriate to the topic.
> 
> I was replying to the fix posted by Sanjeev fixing
> a/sound/soc/omap/omap-mcbsp.c
> 
> I am pretty near the cutting edge kernel, trying to use the latest alsa
> changes. I cannot get bbxm to talk to an external codec via mcbsp1.
> 
> Has anyone been able to use mcbsp1 on a recent linux-next.
> 
This sounds like that those expansion connector pins are not muxed to
mcbsp1 but e.g. to gpio by the bootloader. Are you able to see clock
activity on CLKX if you enable CONFIG_OMAP_MUX=y and add following
lines to board_mux table in arch/arm/mach-omap2/board-omap3beagle.c?

Of course for this you need to use omap as a master and codec as a
slave. One example for this is sound/soc/omap/omap3pandora.c.

 static struct omap_board_mux board_mux[] __initdata = {
+       OMAP3_MUX(MCBSP1_FSX, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT),
+       OMAP3_MUX(MCBSP1_CLKX, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT),
+       OMAP3_MUX(MCBSP1_DR, OMAP_MUX_MODE0 | OMAP_PIN_INPUT),
+       OMAP3_MUX(MCBSP1_DX, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT),
+
        { .reg_offset = OMAP_MUX_TERMINATOR },

-- 
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to