summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2015-06-19 00:28:25 +0300
committerThierry Reding <treding@nvidia.com>2015-11-20 20:05:03 +0300
commit407254da291c03c32109881ca8cbda5607714a8f (patch)
treee21fc008d1751f0ca5499e7728d9766c4ee95384 /drivers/clk/rockchip
parentd907f4b4a178b7bbc8edc67191f63155d6492b80 (diff)
downloadlinux-407254da291c03c32109881ca8cbda5607714a8f.tar.xz
clk: tegra: pll: Add logic for out-of-table rates for T210
For Tegra210, the logic to calculate out-of-table rates is different from previous generations. Add callbacks that can be overridden to allow for different ways of calculating rates. Default to _cal_rate when not specified. This patch also includes a new flag which is used to set which method of fixed_mdiv calculation is used. The new method for calculating the fixed divider value for M can be more accurate especially when fractional dividers are in play. This allows for older chipsets to use the existing logic and new generations to use a newer version which may work better for them. Based on original work by Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Rhyland Klein <rklein@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/rockchip')
0 files changed, 0 insertions, 0 deletions