[PATCH 1/2] clk: sunxi-ng: Call divider_round_rate if we only have a single parent

Maxime Ripard 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
> case?

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.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170127/706e077e/attachment.sig>


More information about the linux-arm-kernel mailing list