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

Heiko Stuebner heiko at sntech.de
Tue Aug 8 08:58:22 PDT 2017


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

applied for 4.14 with Stephen's Ack


Heiko



More information about the Linux-rockchip mailing list