OMAP3 clock: add support for setting the divider for sys_clkout2 using clk_set_rate
authorLaine Walker-Avina <lwalkera@ieee.org>
Wed, 19 May 2010 02:24:02 +0000 (20:24 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:13 +0000 (12:31 -0600)
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>
arch/arm/mach-omap2/clock3xxx_data.c

index 5ab44b0552824d3e01f6cf1b9a2d3d6f39b57c75..833be485c89ef9e1e6d193d08cb44141bbfca2dd 100644 (file)
@@ -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 */