[PATCH 1/2] clk: sunxi-ng: Call divider_round_rate if we only have a single parent
maxime.ripard at free-electrons.com
Fri Jan 27 02:03:56 PST 2017
On Fri, Jan 27, 2017 at 11:30:05AM +0800, Chen-Yu Tsai wrote:
> On Fri, Jan 27, 2017 at 8:12 AM, Stephen Boyd <sboyd at codeaurora.org> wrote:
> > On 01/24, Maxime Ripard wrote:
> >> The divider_get_val function that is used in our determine_rate callback
> >> doesn't try to change the parent rate at all, while clk_divider_bestdiv,
> >> used in divider_round_rate, does.
> >> If we have a single parent, call divider_round_rate.
> I guess my "clk: sunxi-ng: mux: Get closest parent rate possible with
> CLK_SET_RATE_PARENT" patch somewhat takes care of the multi-parent
It looks like it does yes :)
> Still, the underlying clock type doesn't get to specify what
> is considers to be the best parent rate.
> >> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> >> ---
> > Acked-by: Stephen Boyd <sboyd at codeaurora.org>
> Acked-by: Chen-Yu Tsai <wens at csie.org>
Merged the two patches with Stephen and your Acked-bY.
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the linux-arm-kernel