Re: [PATCH 1/2] clk: fractional-divider: allow overriding of approximation

From: Stephen Boyd
Date: Mon Aug 07 2017 - 19:02:39 EST


On 08/01, Heiko Stuebner wrote:
> From: Elaine Zhang <zhangqing@xxxxxxxxxxxxxx>
>
> Fractional dividers may have special requirements concerning numerator
> and denominator selection that differ from just getting the best
> approximation.
>
> For example on Rockchip socs the denominator must be at least 20 times
> larger than the numerator to generate precise clock frequencies.
>
> Therefore add the ability to provide custom approximation functions.
>
> Signed-off-by: Elaine Zhang <zhangqing@xxxxxxxxxxxxxx>
> ---

Acked-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project