Re: [PATCH v2 05/14] clk: imx: pfdv2: determine best parent rate

From: Shawn Guo
Date: Tue Mar 10 2020 - 02:04:43 EST


On Wed, Feb 19, 2020 at 03:59:48PM +0800, peng.fan@xxxxxxx wrote:
> From: Peng Fan <peng.fan@xxxxxxx>
>
> pfdv2 is only used in i.MX7ULP. To get best pfd output, the i.MX7ULP
> Datasheet defines two best PLL rate and pfd frac.
>
> Per Datasheel
> All PLLs on i.MX 7ULP either have VCO base frequency of
> 480 MHz or 528 MHz. So when determine best rate, we also
> determine best parent rate which could match the requirement.
>
> For some reason the current parent might not be 480MHz or 528MHz,
> so we still take current parent rate as a choice.
>
> And we also enable flag CLK_SET_RATE_PARENT to let parent rate
> to be configured.
>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>

Applied, thanks.