Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs

USB controllers on SM8250 doesn't work after coming back from suspend.
This can be fixed by keeping the USB GDSCs in retention mode so that
hardware can keep them ON and put into rentention mode once the parent
domain goes to a low power state.

Fixes: 3e5770921a88 ("clk: qcom: gcc: Add global clock controller driver for SM8250")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221102091320.66007-1-manivannan.sadhasivam@linaro.org

authored by

Manivannan Sadhasivam and committed by
Bjorn Andersson
ac1c5a03 618c01c3

+2 -2
+2 -2
drivers/clk/qcom/gcc-sm8250.c
··· 3267 3267 .pd = { 3268 3268 .name = "usb30_prim_gdsc", 3269 3269 }, 3270 - .pwrsts = PWRSTS_OFF_ON, 3270 + .pwrsts = PWRSTS_RET_ON, 3271 3271 }; 3272 3272 3273 3273 static struct gdsc usb30_sec_gdsc = { ··· 3275 3275 .pd = { 3276 3276 .name = "usb30_sec_gdsc", 3277 3277 }, 3278 - .pwrsts = PWRSTS_OFF_ON, 3278 + .pwrsts = PWRSTS_RET_ON, 3279 3279 }; 3280 3280 3281 3281 static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = {