Skip to content

QCLINUX: clk: qcom: gcc-shikra: Use PWRSTS_RET_ON for USB GDSCs - #1255

Open
akakum-qualcomm wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
akakum-qualcomm:fix/shikra-usb-gdsc-retention
Open

akakum-qualcomm wants to merge 1 commit into
qualcomm-linux:qcom-6.18.yfrom
akakum-qualcomm:fix/shikra-usb-gdsc-retention

Conversation

@akakum-qualcomm

Copy link
Copy Markdown

QCLINUX: clk: qcom: gcc-shikra: Use PWRSTS_RET_ON for USB GDSCs

The USB GDSCs on IQ2390 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: Akash Kumar akakum@qti.qualcomm.com

CRs-Fixed: 4701374

The USB GDSCs on IQ2390 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: Akash Kumar <akakum@qti.qualcomm.com>
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No Change Task Found

No associated change tasks found for CR 4701374 on any of the following entities:

Entities:

  • kernel.qli.2.0

CR: 4701374

Please ensure the CR has a change task associated with at least one of the entities for this branch.

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.

1 participant