linux_dsm_epyc7002/drivers/clk/qcom
Stephen Boyd 5b6b7490af clk: qcom: Fix PLL rate configurations
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: 49fc825f0c "clk: qcom: Consolidate common probe code"
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2014-07-15 16:39:00 -07:00
..
clk-branch.c clk: qcom: Add support for branches/gate clocks 2014-01-16 12:01:01 -08:00
clk-branch.h clk: qcom: Add support for branches/gate clocks 2014-01-16 12:01:01 -08:00
clk-pll.c clk: qcom: Add support for phase locked loops (PLLs) 2014-01-16 12:00:59 -08:00
clk-pll.h clk: qcom: Add support for phase locked loops (PLLs) 2014-01-16 12:00:59 -08:00
clk-rcg2.c clk: qcom: Support display RCG clocks 2014-05-29 09:30:23 -07:00
clk-rcg.c clk: qcom: Support bypass RCG configuration 2014-07-15 16:38:59 -07:00
clk-rcg.h clk: qcom: Support bypass RCG configuration 2014-07-15 16:38:59 -07:00
clk-regmap.c
clk-regmap.h
common.c clk: qcom: Fix PLL rate configurations 2014-07-15 16:39:00 -07:00
common.h clk: qcom: Fix PLL rate configurations 2014-07-15 16:39:00 -07:00
gcc-apq8084.c clk: qcom: Add APQ8084 clocks for SATA, PCIe and UFS 2014-07-11 13:23:33 -07:00
gcc-ipq806x.c clk: qcom: Add support for IPQ8064's global clock controller (GCC) 2014-07-15 16:38:58 -07:00
gcc-msm8660.c clk: qcom: Fix msm8660 GCC probe 2014-05-16 16:53:07 -07:00
gcc-msm8960.c clk: qcom: Fully support apq8064 global clock control 2014-07-11 13:21:22 -07:00
gcc-msm8974.c clk: qcom: Support msm8974pro global clock control hardware 2014-05-29 09:30:24 -07:00
Kconfig clk: qcom: Add support for IPQ8064's global clock controller (GCC) 2014-07-15 16:38:58 -07:00
Makefile clk: qcom: Add support for IPQ8064's global clock controller (GCC) 2014-07-15 16:38:58 -07:00
mmcc-apq8084.c clk: qcom: Add APQ8084 Multimedia Clock Controller (MMCC) support 2014-07-15 16:38:57 -07:00
mmcc-msm8960.c clk: qcom: Fix MN frequency tables, parent map, and jpegd 2014-07-15 16:39:00 -07:00
mmcc-msm8974.c clk: qcom: Fix PLL rate configurations 2014-07-15 16:39:00 -07:00
reset.c clk: qcom: Add reset controller support 2014-01-16 12:01:02 -08:00
reset.h clk: qcom: Add reset controller support 2014-01-16 12:01:02 -08:00