[PATCH v2 3/3] clk: Drop the rate range on clk_put

Tony Lindgren tony at atomide.com
Thu Mar 31 08:00:42 PDT 2022


* Maxime Ripard <maxime at cerno.tech> [220331 09:52]:
> On Thu, Mar 31, 2022 at 12:42:10PM +0300, Tony Lindgren wrote:
> > It seems the dts assigned-clock-parents no longer works now?
> 
> That would make some kind of sense, __set_clk_parents calls clk_put on
> both the assigned clock and its parent.
> 
> Could you see what parent (and why?) it tries to enforce then?

It picks the other option available for the mux clock that only has
two options. No idea why, but if you have some debug patch in mind I
can give it a try.

> It looks like the gpt1_fck driver might favor another parent for that
> rate, which, if it's an invalid configuration, shouldn't really happen?

Hmm there's a gate clock and a mux clock, there's not really a rate
selection available here for the sources.

Regards,

Tony




More information about the linux-arm-kernel mailing list