]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-sm6350: Update the .pwrsts for usb gdscs
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 28 Sep 2022 13:28:54 +0000 (15:28 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 29 Sep 2022 16:42:11 +0000 (11:42 -0500)
commit67d2a2a79baa1409d7859e335f252715eb7c08fa
treef8da11774f41c9057d4b31474226f92f244d5963
parente55e643b1583d50aa76f6f73d8e76b54a0018cf1
clk: qcom: gcc-sm6350: Update the .pwrsts for usb gdscs

The USB controllers on sm6350 do not retain the state when
the system goes into low power state and the GDSCs are
turned off.

This can be observed by the USB connection not coming back alive after
putting the device into suspend, essentially breaking USB.

Fix this by updating the .pwrsts for the USB GDSCs so they only
transition to retention state in low power.

Cc: Rajendra Nayak <quic_rjendra@quicinc.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928132853.179425-1-luca.weiss@fairphone.com
drivers/clk/qcom/gcc-sm6350.c