]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
3430 clock: Add missing ICR clock
authorPaul Walmsley <paul@pwsan.com>
Tue, 4 Dec 2007 09:26:08 +0000 (02:26 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Dec 2007 22:40:53 +0000 (14:40 -0800)
Add the 3430 clock for the ICR.

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

index 075a2fad3676948320337e0b73f394cb9e2626d1..6d236b8c37081a16fe481e495283e51a561644c1 100644 (file)
@@ -1125,6 +1125,16 @@ static struct clk core_l4_ick = {
        .recalc         = &followparent_recalc,
 };
 
+/* Intersystem Communication Registers - chassis mode only */
+static struct clk icr_ick = {
+       .name           = "icr_ick",
+       .parent         = &core_l4_ick,
+       .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
+       .enable_bit     = OMAP3430_EN_ICR_SHIFT,
+       .flags          = CLOCK_IN_OMAP343X,
+       .recalc         = &followparent_recalc,
+};
+
 static struct clk aes2_ick = {
        .name           = "aes2_ick",
        .parent         = &core_l4_ick,
@@ -2265,6 +2275,7 @@ static struct clk *onchip_34xx_clks[] __initdata = {
        &security_l3_ick,
        &pka_ick,
        &core_l4_ick,
+       &icr_ick,
        &aes2_ick,
        &sha12_ick,
        &des2_ick,