Skip to content

WORKAROUND: Use PWRSTS_RET_ON for USB GDSCs on Lemans and Monaco#281

Open
imrashai wants to merge 2 commits intoqualcomm-linux:qcom-6.18.yfrom
imrashai:usb-ret-on-workaround
Open

WORKAROUND: Use PWRSTS_RET_ON for USB GDSCs on Lemans and Monaco#281
imrashai wants to merge 2 commits intoqualcomm-linux:qcom-6.18.yfrom
imrashai:usb-ret-on-workaround

Conversation

@imrashai
Copy link

@imrashai imrashai commented Feb 13, 2026

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

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.

Change-Id: If88c7f898b58650629144ab3ada0231afbc33bfe
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.

Change-Id: I7ac4b6fec314c55be30b3a80c9bf8517528e99ec
Signed-off-by: Imran Shaik <imran.shaik@oss.qualcomm.com>
@imrashai imrashai changed the title Usb ret on workaround WORKAROUND: Use PWRSTS_RET_ON for USB GDSCs on Lemans and Monaco Feb 13, 2026
@shashim-quic
Copy link

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.

Please add CRs-Fixed: in PR description.

@imrashai
Copy link
Author

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.

Please add CRs-Fixed: in PR description.

Updated the CR details in PR description now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants