From: Paul Walmsley Date: Thu, 2 Aug 2007 18:10:03 +0000 (-0600) Subject: omap2 clock: drop meaningless RATE_CKCTLs X-Git-Tag: v2.6.23-omap1~266 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8bfdccc73a7252017029752f8f6af8c2b5e4f957;p=linux-2.6-omap-h63xx.git omap2 clock: drop meaningless RATE_CKCTLs Drop the RATE_CKCTL clock flag from iva1_mpu_int_ifck, gfx_ick, ssi_l4_ick, and dss_ick. These clocks are not source-selectable, which is the practical meaning of RATE_CKCTL in the 2420 clock framework. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 940545f659e..eda904a8a4a 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h @@ -861,7 +861,7 @@ static struct clk iva1_ifck = { static struct clk iva1_mpu_int_ifck = { .name = "iva1_mpu_int_ifck", .parent = &iva1_ifck, - .flags = CLOCK_IN_OMAP242X | RATE_CKCTL | CM_DSP_SEL1, + .flags = CLOCK_IN_OMAP242X, .enable_reg = OMAP_CM_REGADDR(OMAP24XX_DSP_MOD, OMAP24XX_CM_FCLKEN), .enable_bit = OMAP2420_EN_IVA_MPU_SHIFT, .recalc = &omap2_clksel_recalc, @@ -964,8 +964,7 @@ static struct clk gfx_2d_fck = { static struct clk gfx_ick = { .name = "gfx_ick", /* From l3 */ .parent = &core_l3_ck, - .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X | - RATE_CKCTL, + .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_ICLKEN), /* bit 0 */ .enable_bit = OMAP_EN_GFX_SHIFT, .recalc = &omap2_followparent_recalc, @@ -1018,7 +1017,7 @@ static struct clk l4_ck = { /* used both as an ick and fck */ static struct clk ssi_l4_ick = { .name = "ssi_l4_ick", .parent = &l4_ck, - .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X | RATE_CKCTL, + .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), /* bit 1 */ .enable_bit = OMAP24XX_EN_SSI_SHIFT, .recalc = &omap2_followparent_recalc, @@ -1035,7 +1034,7 @@ static struct clk ssi_l4_ick = { static struct clk dss_ick = { /* Enables both L3,L4 ICLK's */ .name = "dss_ick", .parent = &l4_ck, /* really both l3 and l4 */ - .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X | RATE_CKCTL, + .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), .enable_bit = OMAP24XX_EN_DSS1_SHIFT, .recalc = &omap2_followparent_recalc,