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

Stephen Boyd sboyd at kernel.org
Wed Jul 19 15:12:47 PDT 2023


Quoting Frank Oltmanns (2023-07-17 01:24:49)
> Hi,
> 
> On 2023-06-17 at 15:10:39 +0200, Frank Oltmanns <frank at oltmanns.dev> wrote:
> > The fractional divider approximation does not utilize the full available
> > range for clocks that are flagged CLK_FRAC_DIVIDER_ZERO_BASED. This
> > patchset aims to fix that.
> >
> > It also adds test cases for the edge cases of fractional divider clocks
> > with and without the CLK_FRAC_DIVIDER_ZERO_BASED flag to highlight the
> > changes.
> >
> > Finally, it also exports clk_fractional_divider_general_approximation so
> > that the test cases (but also other users like rockchip clk driver) can
> > be compiled as a module.
> >
> > Unfortunately, I have no boards to test this patch. So all we have are
> > the unit tests. It seems the only user of this flag in mainline is
> > drivers/clk/imx/clk-composite-7ulp.c, therefore I'm cc-ing
> > get_maintainers.pl --git-blame -f drivers/clk/imx/clk-composite-7ulp.c
> > in the hopes of a wider audience.
> 
> Are there remarks or questions on this patchset? Anything that needs to
> be improved?
> 

I haven't taken a look yet. You sent this almost exactly when I started
a weeks long trip with minimal network access.



More information about the linux-arm-kernel mailing list