Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71ee297a authored by Laine Walker-Avina's avatar Laine Walker-Avina Committed by Paul Walmsley
Browse files

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: default avatarLaine Walker-Avina <lwalkera@ieee.org>
[paul@pwsan.com: added commit message, added .round_rate pointer]
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent d3353e16
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 */