]> git.dujemihanovic.xyz Git - linux.git/commitdiff
clk: qcom: gcc-sc7280: Update the .pwrsts for PCIe GDSC
authorKrishna chaitanya chundru <quic_krichai@quicinc.com>
Tue, 20 Sep 2022 10:22:27 +0000 (15:52 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 27 Sep 2022 03:02:26 +0000 (22:02 -0500)
Enabling PCIe GDSC retention to ensure controller and its
dependent clocks won't go down during system suspend.
Update the .pwrsts for PCIe GDSC so it only transitions
to RET in low power.

Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1663669347-29308-6-git-send-email-quic_krichai@quicinc.com
drivers/clk/qcom/gcc-sc7280.c

index 7ff64d4d5920d89ae34887de8ddea2c4ae25a533..e66069c73c0f0291239b17e4b885302a61a96ff3 100644 (file)
@@ -3108,7 +3108,7 @@ static struct gdsc gcc_pcie_1_gdsc = {
        .pd = {
                .name = "gcc_pcie_1_gdsc",
        },
-       .pwrsts = PWRSTS_OFF_ON,
+       .pwrsts = PWRSTS_RET_ON,
        .flags = VOTABLE,
 };