mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:16:49 +07:00
5b6b7490af
Sometimes we need to program PLLs with a fixed rate
configuration during driver probe. Doing this after we register
the PLLs with the clock framework causes the common clock
framework to assume the rate of the PLLs are 0. This causes all
sorts of problems for rate recalculations because the common
clock framework caches the rate once at registration time unless
a flag is set to always recalculate the rates.
Split the qcom_cc_probe() function into two pieces, map and
everything else, so that drivers which need to configure some
PLL rates or otherwise twiddle bits in the clock controller can
do so before registering clocks. This allows us to properly
detect the rates of PLLs that are programmed at boot.
Fixes:
|
||
---|---|---|
.. | ||
clk-branch.c | ||
clk-branch.h | ||
clk-pll.c | ||
clk-pll.h | ||
clk-rcg2.c | ||
clk-rcg.c | ||
clk-rcg.h | ||
clk-regmap.c | ||
clk-regmap.h | ||
common.c | ||
common.h | ||
gcc-apq8084.c | ||
gcc-ipq806x.c | ||
gcc-msm8660.c | ||
gcc-msm8960.c | ||
gcc-msm8974.c | ||
Kconfig | ||
Makefile | ||
mmcc-apq8084.c | ||
mmcc-msm8960.c | ||
mmcc-msm8974.c | ||
reset.c | ||
reset.h |