linux_dsm_epyc7002/drivers/clk/qcom
Jeffrey Hugo 26fe27d920 clk: qcom: Add CLK_SET_RATE_PARENT for 8998 branch clocks
A branch clock is basically a clock that can be gated for power savings,
but is also what devices/drivers consume.  Configuring a branch clock's
rate needs to be done at the source, so for all branch clocks which have
a defined parent, set CLK_SET_RATE_PARENT so that clk_set_rate() calls on
branch clocks can do what is expected.  This is important as most drivers
do not check the resulting clock rate after a successful clk_set_rate()
call, thus the driver may get out of sync with the actual hardware state
and weird issues might crop up.  This has been observed with issues
getting SDHCI to reliably support "fast" cards such as SDR104.

Fixes: 4807c71cc6 (arm64: dts: Add msm8998 SoC and MTP board support)
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-01-09 10:57:22 -08:00
..
a53-pll.c clk: qcom: Add A53 PLL support 2018-01-02 10:00:24 -08:00
apcs-msm8916.c clk: apcs-msm8916: simplify probe cleanup by using devm 2018-12-05 09:22:33 -08:00
camcc-sdm845.c clk: qcom: Add camera clock controller driver for SDM845 2018-08-30 18:27:06 -07:00
clk-alpha-pll.c clk: qcom: Export clk_alpha_pll_configure() 2018-10-16 15:09:20 -07:00
clk-alpha-pll.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-branch.c clk: qcom: clk-branch: Use true and false for boolean values 2018-08-30 15:18:59 -07:00
clk-branch.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-hfpll.c clk: qcom: Add support for High-Frequency PLLs (HFPLLs) 2018-10-17 13:14:37 -07:00
clk-hfpll.h clk: qcom: Add support for High-Frequency PLLs (HFPLLs) 2018-10-17 13:14:37 -07:00
clk-krait.c clk: qcom: Add safe switch hook for krait mux clocks 2018-10-17 13:15:05 -07:00
clk-krait.h clk: qcom: Add safe switch hook for krait mux clocks 2018-10-17 13:15:05 -07:00
clk-pll.c clk: qcom: Enable FSM mode for votable alpha PLLs 2016-11-01 18:39:17 -07:00
clk-pll.h clk: qcom: Add support for SR2 PLLs 2015-07-07 17:19:58 -07:00
clk-rcg2.c clk: qcom: Allocate space for NULL terimation in DFS table 2018-08-30 14:59:39 -07:00
clk-rcg.c clk: qcom: Fix pre-divider usage for pixel RCG 2016-02-29 12:57:06 -08:00
clk-rcg.h clk: qcom: Add support for RCG to register for DFS 2018-08-27 13:36:25 -07:00
clk-regmap-divider.c clk: qcom: use divider_ro_round_rate helper 2018-03-12 15:10:27 -07:00
clk-regmap-divider.h clk: qcom: add read-only divider operations 2017-12-21 16:03:19 -08:00
clk-regmap-mux-div.c clk: qcom: Add regmap mux-div clocks support 2018-01-02 10:00:24 -08:00
clk-regmap-mux-div.h clk: qcom: Add regmap mux-div clocks support 2018-01-02 10:00:24 -08:00
clk-regmap-mux.c clk: qcom: add parent map for regmap mux 2017-12-21 16:03:22 -08:00
clk-regmap-mux.h clk: qcom: add parent map for regmap mux 2017-12-21 16:03:22 -08:00
clk-regmap.c clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-regmap.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-rpm.c clk: qcom: rpmcc: Add support to XO buffered clocks 2018-03-19 14:40:26 -07:00
clk-rpmh.c clk: qcom: clk-rpmh: Add QCOM RPMh clock driver 2018-07-16 10:25:04 -07:00
clk-smd-rpm.c clk: qcom: smd: Add support for QCS404 rpm clocks 2018-11-06 09:47:37 -08:00
clk-spmi-pmic-div.c treewide: Use struct_size() for devm_kmalloc() and friends 2018-06-06 11:15:43 -07:00
common.c clk: qcom: Support 'protected-clocks' property 2018-11-21 00:59:28 -08:00
common.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
dispcc-sdm845.c clk: qcom: Add display clock controller driver for SDM845 2018-08-01 08:08:12 -07:00
gcc-apq8084.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-ipq806x.c clk: qcom: Add IPQ806X's HFPLLs 2018-10-17 13:14:47 -07:00
gcc-ipq4019.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-ipq8074.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-mdm9615.c clk: qcom: drop CLK_SET_RATE_GATE from sdc clocks 2018-06-19 10:02:28 -07:00
gcc-msm8660.c clk: qcom: drop CLK_SET_RATE_GATE from sdc clocks 2018-06-19 10:02:28 -07:00
gcc-msm8916.c clk: qcom: msm8916: Additional clock rates for spi 2018-11-30 01:00:04 -08:00
gcc-msm8960.c clk: qcom: Add MSM8960/APQ8064's HFPLLs 2018-10-17 13:14:45 -07:00
gcc-msm8974.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-msm8994.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-msm8996.c clk: qcom: Add some missing gcc clks for msm8996 2018-08-28 15:51:44 -07:00
gcc-msm8998.c clk: qcom: Add CLK_SET_RATE_PARENT for 8998 branch clocks 2019-01-09 10:57:22 -08:00
gcc-qcs404.c clk: qcom: qcs404: Fix gpll0_out_main parent 2018-12-10 11:31:30 -08:00
gcc-sdm660.c clk: qcom: gcc-sdm660: Add MODULE_LICENSE 2018-10-18 11:21:30 -07:00
gcc-sdm845.c clk: qcom: Add lpass clock controller driver for SDM845 2018-12-03 09:38:05 -08:00
gdsc.c clk: qcom: gdsc: Don't override existing gdsc pd functions 2018-11-27 16:54:04 -08:00
gdsc.h Merge branch 'clk-qcom-sdm845' into clk-next 2018-06-04 12:34:51 -07:00
gpucc-sdm845.c clk: qcom: gpu_cc_gmu_clk_src has 5 parents, not 6 2018-11-28 13:24:45 -08:00
hfpll.c clk: qcom: Add HFPLL driver 2018-10-17 13:14:40 -07:00
Kconfig Merge branch 'clk-qcom-sdm845-lpass' into clk-next 2018-12-14 13:27:53 -08:00
kpss-xcc.c clk: qcom: Add KPSS ACC/GCC driver 2018-10-17 13:14:54 -07:00
krait-cc.c clk: qcom: Add safe switch hook for krait mux clocks 2018-10-17 13:15:05 -07:00
lcc-ipq806x.c clk: qcom: lcc-ipq806x: Fixup overriding val in regmap_read call 2016-11-01 17:44:09 -07:00
lcc-mdm9615.c clk: mdm9615: Add support for MDM9615 Clock Controllers 2016-08-15 15:51:21 -07:00
lcc-msm8960.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
lpasscc-sdm845.c clk: qcom: Add lpass clock controller driver for SDM845 2018-12-03 09:38:05 -08:00
Makefile Merge branch 'clk-qcom-sdm845-lpass' into clk-next 2018-12-14 13:27:53 -08:00
mmcc-apq8084.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
mmcc-msm8960.c clk: qcom: Remove CLK_IS_ROOT 2016-03-04 12:53:53 -08:00
mmcc-msm8974.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
mmcc-msm8996.c The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
reset.c clk: qcom: Make reset_control_ops const 2016-03-29 16:30:26 -07:00
reset.h clk: qcom: Make reset_control_ops const 2016-03-29 16:30:26 -07:00
videocc-sdm845.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00