Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1700370

Re: [PATCH] clk: samsung: exynos5420: The EPLL rate table corrections

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: samsung: exynos5420: The EPLL rate table corrections
Date 2017-07-31 22:20 +0200
Message-ID <u9pku-2jJ-21@gated-at.bofh.it> (permalink)
References <u5Ei6-4ce-27@gated-at.bofh.it> <u5Ei6-4ce-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/21, Sylwester Nawrocki wrote:
> This patch fixes values of the EPLL K coefficient and changes
> the EPLL output frequency values to match exactly what is
> possible to achieve with given M, P, S, K coefficients.
> This allows to avoid rounding errors and unexpected frequency
> being set with clk_set_rate(), due to recalc_rate returning
> different values than the PLL rate specified in the
> exynos5420_epll_24mhz_tbl table. E.g. this prevents a case
> where two consecutive clk_set_rate() calls with same argument
> result in different PLL output frequency.
> 
> The PLL output frequencies have been calculated with formula:
> 
> f = fxtal * (M * 2^16 + K) / (P * 2^S) / 2^16
> 
> where fxtal = 24000000.
> 
> Fixes: 9842452acd ("clk: samsung: exynos542x: Add EPLL rate table")
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
> ---

Applied to clk-fixes

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] clk: samsung: exynos5420: The EPLL rate table corrections Sylwester Nawrocki <s.nawrocki@samsung.com> - 2017-07-21 13:30 +0200
  Re: [PATCH] clk: samsung: exynos5420: The EPLL rate table  corrections Sylwester Nawrocki <s.nawrocki@samsung.com> - 2017-07-31 14:30 +0200
    Re: [PATCH] clk: samsung: exynos5420: The EPLL rate table corrections Stephen Boyd <sboyd@codeaurora.org> - 2017-07-31 22:20 +0200
      Re: [PATCH] clk: samsung: exynos5420: The EPLL rate table  corrections Sylwester Nawrocki <s.nawrocki@samsung.com> - 2017-08-01 12:20 +0200
  Re: [PATCH] clk: samsung: exynos5420: The EPLL rate table corrections Stephen Boyd <sboyd@codeaurora.org> - 2017-07-31 22:20 +0200

csiph-web