diff options
author | Laine Walker-Avina <lwalkera@ieee.org> | 2010-05-18 22:24:02 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-05-20 14:31:13 -0400 |
commit | 71ee297a9bc69748510179f5333a3f4541c27723 (patch) | |
tree | bc7dc9cbd6fe88d51a28098cebc630b2768b7786 | |
parent | d3353e1654f60fc56b7a9a965af67e14b54d7f61 (diff) |
OMAP3 clock: add support for setting the divider for sys_clkout2 using clk_set_rate
Add clock framework support for changing the rate of sys_clkout2.
Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org>
[paul@pwsan.com: added commit message, added .round_rate pointer]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r-- | arch/arm/mach-omap2/clock3xxx_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index 5ab44b055282..833be485c89e 100644 --- a/arch/arm/mach-omap2/clock3xxx_data.c +++ b/arch/arm/mach-omap2/clock3xxx_data.c | |||
@@ -1033,6 +1033,8 @@ static struct clk sys_clkout2 = { | |||
1033 | .clksel_mask = OMAP3430_CLKOUT2_DIV_MASK, | 1033 | .clksel_mask = OMAP3430_CLKOUT2_DIV_MASK, |
1034 | .clksel = sys_clkout2_clksel, | 1034 | .clksel = sys_clkout2_clksel, |
1035 | .recalc = &omap2_clksel_recalc, | 1035 | .recalc = &omap2_clksel_recalc, |
1036 | .round_rate = &omap2_clksel_round_rate, | ||
1037 | .set_rate = &omap2_clksel_set_rate | ||
1036 | }; | 1038 | }; |
1037 | 1039 | ||
1038 | /* CM OUTPUT CLOCKS */ | 1040 | /* CM OUTPUT CLOCKS */ |