summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Guzman Lugo <fernando.lugo@ti.com>2012-06-12 22:33:53 -0500
committerXavier Boudet <x-boudet@ti.com>2012-08-16 14:58:06 +0200
commit3322a36a84a5f03d103eee498086ba080ced6f9a (patch)
treecfdd78299756645f9c22a6c809255096d2715e1d
parente63062274739fd0c578be6ef9978e5ccfaa5ee59 (diff)
ARM: OMAP5: clock: Add set_rate operation to OPT clock nodes for SCRM
Use followparent_set_rate as set_rate operation for OPT clocks nodes for SCRM. This allows a clk_set_rate call on the OPT clock to work as expected as the rate is propagated to the real clock. Reviewed-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
-rw-r--r--arch/arm/mach-omap2/clock54xx_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock54xx_data.c b/arch/arm/mach-omap2/clock54xx_data.c
index e08ffa64b237..04cc8dd6bd9f 100644
--- a/arch/arm/mach-omap2/clock54xx_data.c
+++ b/arch/arm/mach-omap2/clock54xx_data.c
@@ -2154,6 +2154,7 @@ static struct clk dpll_core_m3x2_opt_ck = {
.enable_reg = OMAP54XX_CM_WKUPAON_SCRM_CLKCTRL,
.enable_bit = OMAP54XX_OPTFCLKEN_SCRM_CORE_SHIFT,
.clkdm_name = "wkupaon_clkdm",
+ .set_rate = &followparent_set_rate,
};
static struct clk dpll_per_m3x2_opt_ck = {
@@ -2164,6 +2165,7 @@ static struct clk dpll_per_m3x2_opt_ck = {
.enable_reg = OMAP54XX_CM_WKUPAON_SCRM_CLKCTRL,
.enable_bit = OMAP54XX_OPTFCLKEN_SCRM_PER_SHIFT,
.clkdm_name = "wkupaon_clkdm",
+ .set_rate = &followparent_set_rate,
};
/* SCRM aux clk nodes */