Re: [PATCH v6 5/5] clk: qcom: Alwaya on pcie gdsc

From: Rajendra Nayak
Date: Tue Sep 13 2022 - 02:43:08 EST



On 9/12/2022 10:34 PM, Manivannan Sadhasivam wrote:
+ Rajendra

On Fri, Sep 09, 2022 at 02:14:44PM +0530, Krishna chaitanya chundru wrote:
Make GDSC always on to ensure controller and its dependent clocks
won't go down during system suspend.


You need to mention the SoC name in subject, otherwise one cannot know for
which platform this patch applies to.

Signed-off-by: Krishna chaitanya chundru <quic_krichai@xxxxxxxxxxx>
---
drivers/clk/qcom/gcc-sc7280.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/gcc-sc7280.c b/drivers/clk/qcom/gcc-sc7280.c
index 7ff64d4..2f781a2 100644
--- a/drivers/clk/qcom/gcc-sc7280.c
+++ b/drivers/clk/qcom/gcc-sc7280.c
@@ -3109,7 +3109,7 @@ static struct gdsc gcc_pcie_1_gdsc = {
.name = "gcc_pcie_1_gdsc",
},
.pwrsts = PWRSTS_OFF_ON,
- .flags = VOTABLE,
+ .flags = ALWAYS_ON,

Rajendra, should we also put PCIe GDSC into retention state as you have done for
USB [1]?

Yes, it looks like we should handle this the same way as we did with usb.
Why are we removing the VOTABLE flag anyway?


Thanks,
Mani

[1] https://lore.kernel.org/all/20220901101756.28164-2-quic_rjendra@xxxxxxxxxxx/

};
static struct gdsc gcc_ufs_phy_gdsc = {
--
2.7.4