Re: [PATCH v2 06/14] ARM: sun8i: clk: Add clk-factor rate application method

From: Jean-Francois Moine
Date: Fri Jul 01 2016 - 01:37:37 EST


On Fri, 1 Jul 2016 02:50:57 +0200
OndÅej Jirman <megous@xxxxxxxxxx> wrote:

> > Since this is really specific, I guess you could simply make the
> > clk_ops for the nkmp clocks public, and just re-implement set_rate
> > using that logic.
>
> I would argue that this may be necessary for other PLL clocks too, if
> you can get out of bounds output frequency, by changing the dividers too
> early or too late. So perhaps this code should be generalized for other
> PLL clocks too, instead.

The documentation says that only the CPU and DDR PLLs can be dynamically
changed after boot.

--
Ken ar c'hentaà | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/