linux_dsm_epyc7002/drivers/clk/samsung
Sylwester Nawrocki 5b30850bd6 clk: samsung: exynos5420: The EPLL rate table corrections
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>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-07-31 13:16:03 -07:00
..
clk-cpu.c clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
clk-cpu.h
clk-exynos4.c
clk-exynos7.c
clk-exynos3250.c
clk-exynos5250.c
clk-exynos5260.c
clk-exynos5260.h
clk-exynos5410.c
clk-exynos5420.c clk: samsung: exynos5420: The EPLL rate table corrections 2017-07-31 13:16:03 -07:00
clk-exynos5433.c
clk-exynos5440.c
clk-exynos-audss.c clk: samsung: audss: Fix silent hang on Exynos4412 due to disabled EPLL 2017-06-22 14:55:35 -07:00
clk-exynos-clkout.c clk: samsung: exynos-clkout: Convert to the new clk_hw API 2017-06-09 11:10:47 +02:00
clk-pll.c clk: samsung: Add enable/disable operation for PLL36XX clocks 2017-06-09 13:12:42 +02:00
clk-pll.h
clk-s3c64xx.c
clk-s3c2410-dclk.c clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
clk-s3c2410.c
clk-s3c2412.c
clk-s3c2443.c
clk-s5pv210-audss.c clk: samsung: s5pv210-audss: Convert to the new clk_hw API 2017-06-09 12:27:49 +02:00
clk-s5pv210.c
clk.c clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
clk.h clk: samsung: Convert common drivers to the new clk_hw API 2017-06-07 22:47:57 +02:00
Kconfig
Makefile