From: Juha Yrjola Date: Wed, 1 Mar 2006 13:49:03 +0000 (+0200) Subject: Add the missing clock definition from previous commit X-Git-Tag: v2.6.16-omap1~39 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6773efe85ee61812e59d318db99623f4f218062a;p=linux-2.6-omap-h63xx.git Add the missing clock definition from previous commit --- diff --git a/arch/arm/mach-omap1/clock.h b/arch/arm/mach-omap1/clock.h index ce207a7594a..b7c68819c4e 100644 --- a/arch/arm/mach-omap1/clock.h +++ b/arch/arm/mach-omap1/clock.h @@ -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