diff options
author | Elaine Zhang <zhangqing@rock-chips.com> | 2017-08-01 19:21:22 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2017-08-08 18:39:48 +0300 |
commit | ec52e462564b9c5bfdf1f79638c537c7103e1d2b (patch) | |
tree | cb1cb6ce6240d2de48708f38e619d0a270875e67 /drivers/clk/rockchip | |
parent | 334614058886fc5002dbfa2c4c72f89b3830f7e1 (diff) | |
download | linux-ec52e462564b9c5bfdf1f79638c537c7103e1d2b.tar.xz |
clk: fractional-divider: allow overriding of approximation
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@rock-chips.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip')
0 files changed, 0 insertions, 0 deletions