Skip to contentSkip to conversation

omap_mcbsp_request fails for OMAP1 platforms

DISCUSSION Arun KS 1 participant 1 message Apr 10, 2009

lore
Share & tools
lore

Arun KS

author
#0 lore raw

Hi all,

I am using osk5912 board with latest l-o tree(2.6.30-rc1).

But, the system hangs at omap_mcbsp_request for mcbsp 1 and mcbsp 3,

ie.. omap_mcbsp_request(0) and omap_mcbsp_request(2) but omap_mcbsp_request(1) works fine.

In file: arch/arm/mach-omap1/mcbsp.c
fuction: omap1_mcbsp_request

api_clk = clk_get(NULL, "api_clk");
dsp_clk = clk_get(NULL, "dsp_clk");

these clocks are not present in the tree structure at arch/arm/mach-omap1/clock.c

So basically these clk_get s fails and the system hangs at

OMAP_MCBSP_WRITE(mcbsp->io_base, SPCR1, 0);
in File:arch/arm/plat-omap/mcbsp.c
Function: omap_mcbsp_request

Thanks,
Arun