diff options
author | Fernando Guzman Lugo <fernando.lugo@ti.com> | 2012-06-12 22:33:53 -0500 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-09-07 13:06:20 +0800 |
commit | 1d11c1148192f88084c9e8667af43cd131efd244 (patch) | |
tree | 15d86ab46a14c54595c0fb33f8625bd8c7a23b91 /arch | |
parent | dd106019453452bcd95e33c093761618526dc140 (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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/clock54xx_data.c | 2 |
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 */ |