clk: bcm/kona: implement determine_rate()
authorAlex Elder <elder@linaro.org>
Tue, 27 May 2014 16:56:56 +0000 (11:56 -0500)
committerMike Turquette <mturquette@linaro.org>
Wed, 28 May 2014 00:34:32 +0000 (17:34 -0700)
Implement the clk->determine_rate method for Broadcom Kona peripheral
clocks.  This allows a peripheral clock to be re-parented in order to
satisfy a rate change request.  This takes the place of the previous
kona_peri_clk_round_rate() functionality, though that function remains
because it is used by the new one.

The parent clock that allows the peripheral clock to produce a rate
closest to the one requested is the one selected, though the current
parent is used by default.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>

No differences found