mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 17:42:03 +02:00
clk: qcom: gcc-qcs8300: Use retention for PCIe power domains
As the PCIe host controller driver does not yet support dealing with the
loss of state during suspend, use retention for relevant GDSCs.
Fix the PCIe link not surviving upon resume, and GDSC error:
gcc_pcie_0_gdsc status stuck at 'off'
Fixes: 95eeb2ffce ("clk: qcom: Add support for Global Clock Controller on QCS8300")
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260629-monza-suspend-v1-1-b601d8a2f2f8@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
f3d8db39d9
commit
11b170abe4
|
|
@ -3268,7 +3268,7 @@ static struct gdsc gcc_pcie_0_gdsc = {
|
|||
.pd = {
|
||||
.name = "gcc_pcie_0_gdsc",
|
||||
},
|
||||
.pwrsts = PWRSTS_OFF_ON,
|
||||
.pwrsts = PWRSTS_RET_ON,
|
||||
.flags = VOTABLE | RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
|
||||
};
|
||||
|
||||
|
|
@ -3282,7 +3282,7 @@ static struct gdsc gcc_pcie_1_gdsc = {
|
|||
.pd = {
|
||||
.name = "gcc_pcie_1_gdsc",
|
||||
},
|
||||
.pwrsts = PWRSTS_OFF_ON,
|
||||
.pwrsts = PWRSTS_RET_ON,
|
||||
.flags = VOTABLE | RETAIN_FF_ENABLE | POLL_CFG_GDSCR,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user