kernel_samsung_a53x/drivers/clk/qcom
Manivannan Sadhasivam 1b68172be4 clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable()
commit ade508b545c969c72cd68479f275a5dd640fd8b9 upstream.

With PWRSTS_OFF_ON, PCIe GDSCs are turned off during gdsc_disable(). This
can happen during scenarios such as system suspend and breaks the resume
of PCIe controllers from suspend.

So use PWRSTS_RET_ON to indicate the GDSC driver to not turn off the GDSCs
during gdsc_disable() and allow the hardware to transition the GDSCs to
retention when the parent domain enters low power state during system
suspend.

Cc: stable@vger.kernel.org # 5.7
Fixes: 3e5770921a88 ("clk: qcom: gcc: Add global clock controller driver for SM8250")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240719134238.312191-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:45 +01:00
..
a53-pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apcs-msm8916.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apss-ipq-pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apss-ipq6018.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
camcc-sdm845.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-alpha-pll.c clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API 2024-11-23 23:21:00 +01:00
clk-alpha-pll.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-branch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-branch.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-cpu-8996.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-hfpll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-hfpll.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-krait.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-krait.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pll.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-rcg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-rcg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-rcg2.c clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies 2024-11-18 11:42:53 +01:00
clk-regmap-divider.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap-divider.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap-mux-div.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap-mux-div.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap-mux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap-mux.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-regmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-rpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-rpmh.c clk: qcom: clk-rpmh: Fix overflow in BCM vote 2024-11-23 23:21:45 +01:00
clk-smd-rpm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-spmi-pmic-div.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dispcc-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dispcc-sdm845.c clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times 2024-11-19 08:44:54 +01:00
dispcc-sm8250.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-apq8084.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-ipq806x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-ipq4019.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-ipq6018.c clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays 2024-11-19 09:22:17 +01:00
gcc-ipq8074.c clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays 2024-11-19 09:22:17 +01:00
gcc-mdm9615.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8660.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8916.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8939.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8960.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8974.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8994.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8996.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-msm8998.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-qcs404.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-sdm660.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gcc-sdm845.c clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd 2024-11-19 09:22:14 +01:00
gcc-sm8150.c clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src 2024-11-18 11:42:53 +01:00
gcc-sm8250.c clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable() 2024-11-23 23:21:45 +01:00
gdsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gdsc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpucc-msm8998.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpucc-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpucc-sdm845.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpucc-sm8150.c clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config 2024-11-18 12:12:40 +01:00
gpucc-sm8250.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hfpll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM 2024-11-18 11:42:54 +01:00
kpss-xcc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
krait-cc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lcc-ipq806x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lcc-mdm9615.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lcc-msm8960.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpasscc-sdm845.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpasscorecc-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmcc-apq8084.c clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays 2024-11-19 09:22:17 +01:00
mmcc-msm8960.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmcc-msm8974.c clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays 2024-11-19 09:22:17 +01:00
mmcc-msm8996.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmcc-msm8998.c clk: qcom: mmcc-msm8998: fix venus clock issue 2024-11-19 12:26:59 +01:00
mss-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
q6sstop-qcs404.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reset.c clk: qcom: reset: Ensure write completion on reset de/assertion 2024-11-19 08:44:52 +01:00
reset.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
turingcc-qcs404.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
videocc-sc7180.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
videocc-sdm845.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
videocc-sm8150.c clk: qcom: videocc-sm8150: Add missing PLL config property 2024-11-18 12:12:42 +01:00
videocc-sm8250.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00