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

Abel Vesa abel.vesa at linaro.org
Mon Jun 12 02:32:35 PDT 2023


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 at linaro.org>



More information about the linux-arm-kernel mailing list