[PATCH v5 1/2] clk: fractional-divider: Improve approximation when zero based and export

Stephen Boyd sboyd at kernel.org
Thu Oct 12 15:40:16 PDT 2023


Quoting Frank Oltmanns (2023-06-17 06:10:40)
> Consider the CLK_FRAC_DIVIDER_ZERO_BASED flag when finding the best
> approximation for m and n. By doing so, increase the range of valid
> values for the numerator and denominator by 1.
> 
> Furthermore, export the approximation function so that users of this
> function can be compiled as modules.
> 
> Cc: A.s. Dong <aisheng.dong at nxp.com>
> Signed-off-by: Frank Oltmanns <frank at oltmanns.dev>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list