]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
omap2 clock: get rid of sleep_ck
authorPaul Walmsley <paul@pwsan.com>
Thu, 2 Aug 2007 18:10:09 +0000 (12:10 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Aug 2007 09:35:09 +0000 (02:35 -0700)
According to the 2420 TRM rev J, SLEEP_CLK doesn't have any registers
or bits associated with it, so it's outside software control.  It's
also a leaf clock - no software-controllable clocks use it as a
parent.  There's nothing we can do with it in software.  So, drop it.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.h

index dd6e1d9129db4e0658a3f510d3f29f2bf5b8e07f..733ab98a5dc6105bf08a23822858d87e81acf5eb 100644 (file)
@@ -684,14 +684,6 @@ static struct clk core_ck = {
        .recalc         = &omap2_propagate_rate,
 };
 
-static struct clk sleep_ck = {         /* sys_clk or 32k */
-       .name           = "sleep_ck",
-       .parent         = &func_32k_ck,
-       .rate           = 32000,
-       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
-       .recalc         = &omap2_propagate_rate,
-};
-
 static struct clk func_96m_ck = {
        .name           = "func_96m_ck",
        .parent         = &apll96_ck,
@@ -2017,7 +2009,6 @@ static struct clk *onchip_clks[] = {
        /* internal prcm root sources */
        &func_54m_ck,
        &core_ck,
-       &sleep_ck,
        &func_96m_ck,
        &func_48m_ck,
        &func_12m_ck,