[PATCH v4 06/11] clk: sunxi-ng: Add helper function to find closest rate
Maxime Ripard
mripard at kernel.org
Mon Jul 17 07:08:26 PDT 2023
On Mon, 17 Jul 2023 15:34:30 +0200, Frank Oltmanns wrote:
> The default behaviour of clocks in the sunxi-ng driver is to select a
> clock rate that is closest to but less than the requested rate.
>
> Add the ccu_is_better_rate() helper function that - depending on the
> fact if thc CCU_FEATURE_CLOSEST_RATE flag is set - decides if a rate is
>
> [ ... ]
Acked-by: Maxime Ripard <mripard at kernel.org>
Thanks!
Maxime
More information about the linux-arm-kernel
mailing list