]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
omap2 clock: add three missing clocks: gpmc_fck, sdma_{i, f}ck
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Aug 2007 08:39:23 +0000 (02:39 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 18:15:26 +0000 (11:15 -0700)
Add three missing clocks: gpmc_fck, sdma_ick, and sdma_fck.

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

index 90c84214eafdad8be97ec045d49a1f7a042d22ac..be5df90bad24ea0c40808802175dd65e69928b0f 100644 (file)
@@ -2277,6 +2277,27 @@ static struct clk i2chs1_fck = {
        .recalc         = &followparent_recalc,
 };
 
+static struct clk gpmc_fck = {
+       .name           = "gpmc_fck",
+       .parent         = &core_l3_ck,
+       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
+       .recalc         = &followparent_recalc,
+};
+
+static struct clk sdma_fck = {
+       .name           = "sdma_fck",
+       .parent         = &core_l3_ck,
+       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
+       .recalc         = &followparent_recalc,
+};
+
+static struct clk sdma_ick = {
+       .name           = "sdma_ick",
+       .parent         = &l4_ck,
+       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
+       .recalc         = &followparent_recalc,
+};
+
 static struct clk vlynq_ick = {
        .name           = "vlynq_ick",
        .parent         = &core_l3_ck,
@@ -2633,6 +2654,9 @@ static struct clk *onchip_clks[] __initdata = {
        &i2c2_ick,
        &i2c2_fck,
        &i2chs2_fck,
+       &gpmc_fck,
+       &sdma_fck,
+       &sdma_ick,
        &vlynq_ick,
        &vlynq_fck,
        &sdrc_ick,