Hi all, omap hsmmc driver is always complaining about the debounce clock. The clock it's trying to get is not listed in clock34xx.c, the following patch gets rid of debounce clock warning by adding the clock to the clock list. ps: it's RFC since I'm not really sure if it's the right clock although docs says it's the functional 32k clock. Comments?? >From 2ef178c513ade5c029be582aa55b87daba3e333d Mon Sep 17 00:00:00 2001 From: Felipe Balbi <felipe.balbi@xxxxxxxxx> Date: Tue, 25 Mar 2008 13:38:50 +0200 Subject: [RFC PATCH] ARCH: OMAP3: Missing mmc debounce clock This clock was missing from clock34xx.c so mmc was unable to get it on omap_hsmmc.c giving us an uneeded warning. Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> --- arch/arm/mach-omap2/clock34xx.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index b0741ba..056f8f6 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h @@ -44,6 +44,15 @@ static struct clk omap_32k_fck = { .recalc = &propagate_rate, }; +/* MMC debounce clock derivates from 32k functional clock */ +static struct clk mmchsdb_fck = { + .name = "mmchsdb_fck", + .id = 1, + .parent = &omap_32k_fck, + .flags = CLOCK_IN_OMAP343X | ALWAYS_ENABLED, + .recalc = &followparent_recalc, +}; + static struct clk secure_32k_fck = { .name = "secure_32k_fck", .rate = 32768, @@ -2863,6 +2872,7 @@ static struct clk *onchip_34xx_clks[] __initdata = { &ts_fck, &usbtll_fck, &core_96m_fck, + &mmchsdb_fck, &mmchs3_fck, &mmchs2_fck, &mspro_fck, -- 1.5.5.rc0.16.g02b00 -- - Balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html