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

Tony Lindgren
2022-03-31T15:02:05Z

* Maxime Ripard <maxime@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