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

From: Heiko Stuebner
Date: Tue Aug 08 2017 - 11:58:33 EST


Am Dienstag, 1. August 2017, 18:21:22 CEST schrieb Heiko Stuebner:
> 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>

applied for 4.14 with Stephen's Ack


Heiko