]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Add the missing clock definition from previous commit
authorJuha Yrjola <juha.yrjola@nokia.com>
Wed, 1 Mar 2006 13:49:03 +0000 (15:49 +0200)
committerJuha Yrjola <juha.yrjola@nokia.com>
Wed, 1 Mar 2006 13:49:03 +0000 (15:49 +0200)
arch/arm/mach-omap1/clock.h

index ce207a7594a0fc83bc33b3deb33c0edb2c49193c..b7c68819c4e7e2391cf474491bd441f0d8b38bc6 100644 (file)
@@ -727,6 +727,20 @@ static struct clk virtual_ck_mpu = {
        .disable        = &omap1_clk_disable_generic,
 };
 
+/* virtual functional clock domain for I2C. Just for making sure that ARMXOR_CK
+remains active during MPU idle whenever this is enabled */
+static struct clk i2c_fck = {
+       .name           = "i2c_fck",
+       .id             = 1,
+       .flags          = CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
+                         VIRTUAL_CLOCK | CLOCK_NO_IDLE_PARENT |
+                         ALWAYS_ENABLED,
+       .parent         = &armxor_ck.clk,
+       .recalc         = &followparent_recalc,
+       .enable         = &omap1_clk_enable_generic,
+       .disable        = &omap1_clk_disable_generic,
+};
+
 static struct clk * onchip_clks[] = {
        /* non-ULPD clocks */
        &ck_ref,
@@ -775,6 +789,7 @@ static struct clk * onchip_clks[] = {
        &mmc2_ck,
        /* Virtual clocks */
        &virtual_ck_mpu,
+       &i2c_fck,
 };
 
 #endif