Re: [PATCH] clk: imx: composite-8m: Add imx8m_divider_determine_rate

From: Abel Vesa
Date: Mon Jun 12 2023 - 05:47:47 EST



On Sat, 06 May 2023 14:53:25 -0500, Adam Ford wrote:
> Currently, certain clocks are derrived as a divider from their
> parent clock. For some clocks, even when CLK_SET_RATE_PARENT
> is set, the parent clock is not properly set which can lead
> to some relatively inaccurate clock values.
>
> Unlike imx/clk-composite-93 and imx/clk-divider-gate, it
> cannot rely on calling a standard determine_rate function,
> because the 8m composite clocks have a pre-divider and
> post-divider. Because of this, a custom determine_rate
> function is necessary to determine the maximum clock
> division which is equivalent to pre-divider * the
> post-divider.
>
> [...]

Applied, thanks!

[1/1] clk: imx: composite-8m: Add imx8m_divider_determine_rate
commit: 8208181fe536bba3b411508f81c4426fc9c71d9a

Best regards,
--
Abel Vesa <abel.vesa@xxxxxxxxxx>