diff options
author | Laine Walker-Avina <lwalkera@ieee.org> | 2010-05-19 04:24:02 +0200 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-05-20 20:31:13 +0200 |
commit | 71ee297a9bc69748510179f5333a3f4541c27723 (patch) | |
tree | bc7dc9cbd6fe88d51a28098cebc630b2768b7786 /arch/arm/mach-omap2/clock3xxx_data.c | |
parent | OMAP4 powerdomain: Fix pwrsts flags for ALWAYS ON domains (diff) | |
download | linux-71ee297a9bc69748510179f5333a3f4541c27723.tar.xz linux-71ee297a9bc69748510179f5333a3f4541c27723.zip |
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>
Diffstat (limited to 'arch/arm/mach-omap2/clock3xxx_data.c')
-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 = { .clksel_mask = OMAP3430_CLKOUT2_DIV_MASK, .clksel = sys_clkout2_clksel, .recalc = &omap2_clksel_recalc, + .round_rate = &omap2_clksel_round_rate, + .set_rate = &omap2_clksel_set_rate }; /* CM OUTPUT CLOCKS */ |