Skip to content

Commit d9fe9f3

Browse files
Rajendra Nayakandersson
authored andcommitted
clk: qcom: gcc-sc7180: Update the .pwrsts for usb gdsc
The USB controller on sc7180 does not retain the state when the system goes into low power state and the GDSC is turned off. This results in the controller reinitializing and re-enumerating all the connected devices (resulting in additional delay while coming out of suspend) Fix this by updating the .pwrsts for the USB GDSC so it only transitions to retention state in low power. Since sc7180 only supports cx (parent of usb gdsc) Retention, there are no cxcs offsets mentioned in order to support the Retention state. Signed-off-by: Rajendra Nayak <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d399723 commit d9fe9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/gcc-sc7180.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,7 @@ static struct gdsc usb30_prim_gdsc = {
22242224
.pd = {
22252225
.name = "usb30_prim_gdsc",
22262226
},
2227-
.pwrsts = PWRSTS_OFF_ON,
2227+
.pwrsts = PWRSTS_RET_ON,
22282228
};
22292229

22302230
static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = {

0 commit comments

Comments
 (0)