]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
24xx clock: add missing SSI L4 interface clock
authorPaul Walmsley <paul@pwsan.com>
Wed, 21 May 2008 00:41:28 +0000 (18:41 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 28 May 2008 20:40:24 +0000 (13:40 -0700)
This patch adds a missing OMAP24xx clock, the SSI L4 interface clock,
as "ssi_l4_ick".

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

index 27a04e5c089a6e64ddfabf86954091336d6bdb5e..ee39794643c8fe5e63b5b216a5cd2ca084e23a77 100644 (file)
@@ -1290,6 +1290,20 @@ static struct clk ssi_ssr_sst_fck = {
        .set_rate       = &omap2_clksel_set_rate
 };
 
+/*
+ * Presumably this is the same as SSI_ICLK.
+ * TRM contradicts itself on what clockdomain SSI_ICLK is in
+ */
+static struct clk ssi_l4_ick = {
+       .name           = "ssi_l4_ick",
+       .parent         = &l4_ck,
+       .clkdm_name     = "core_l4_clkdm",
+       .flags          = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
+       .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2),
+       .enable_bit     = OMAP24XX_EN_SSI_SHIFT,
+       .recalc         = &followparent_recalc,
+};
+
 
 /*
  * GFX clock domain
@@ -2678,6 +2692,7 @@ static struct clk *onchip_24xx_clks[] __initdata = {
        &usb_l4_ick,
        /* L4 domain clocks */
        &l4_ck,                 /* used as both core_l4 and wu_l4 */
+       &ssi_l4_ick,
        /* virtual meta-group clock */
        &virt_prcm_set,
        /* general l4 interface ck, multi-parent functional clk */