WORKAROUND: Use PWRSTS_RET_ON for USB GDSCs on Lemans and Monaco#281
WORKAROUND: Use PWRSTS_RET_ON for USB GDSCs on Lemans and Monaco#281imrashai wants to merge 2 commits intoqualcomm-linux:qcom-6.18.yfrom
Conversation
Please add CRs-Fixed: in PR description. |
Updated the CR details in PR description now. |
shashim-quic
left a comment
There was a problem hiding this comment.
Change-Id: I7ac4b6fec314c55be30b3a80c9bf8517528e99ec
Signed-off-by: Imran Shaik imran.shaik@oss.qualcomm.com
remove change-id from both commits in this PR. That is only relevant for gerrit.
Test Matrix
|
The USB GDSCs on SA8775P are currently configured with PWRSTS_OFF_ON, which allows the GDSC framework to fully collapse these power domains during gdsc_disable(). When these GDSCs collapse, the corresponding USB PHY configurations are not retained in USB host mode use-cases and this breaks the resume of USB controller from suspend. To avoid this, configure the USB GDSC power states to PWRSTS_RET_ON. This prevents the GDSC from powering off during gdsc_disable(), and allows hardware to retain the PHY configurations across USB host mode use-cases. Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
The USB GDSCs on QCS8300 are currently configured with PWRSTS_OFF_ON, which allows the GDSC framework to fully collapse these power domains during gdsc_disable(). When these GDSCs collapse, the corresponding USB PHY configurations are not retained in USB host mode use-cases and this breaks the resume of USB controller from suspend. To avoid this, configure the USB GDSC power states to PWRSTS_RET_ON. This prevents the GDSC from powering off during gdsc_disable(), and allows hardware to retain the PHY configurations across USB host mode use-cases. Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
223b6f0 to
4711d37
Compare
Dropped the change-id from both the commits and updated the changes. |
Currently USB team working on the actual fix to take care of keeping the GDSC ON during suspend use-case as per their requirement. This PR is a workaround to unblock the USB team.
CRs-Fixed: 4439827