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

Stephen Boyd sboyd at codeaurora.org
Mon Aug 7 16:02:30 PDT 2017


On 08/01, Heiko Stuebner wrote:
> From: Elaine Zhang <zhangqing at rock-chips.com>
> 
> 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 at rock-chips.com>
> ---

Acked-by: Stephen Boyd <sboyd at codeaurora.org>

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



More information about the Linux-rockchip mailing list