Skip to content

arm64: dts: qcom: shikra: Wire up usb-role-switch for USB Type-C ports - #998

Open
akakum-qualcomm wants to merge 10000 commits into
qualcomm-linux:mainfrom
akakum-qualcomm:shikra-usb-role-switch-618
Open

arm64: dts: qcom: shikra: Wire up usb-role-switch for USB Type-C ports#998
akakum-qualcomm wants to merge 10000 commits into
qualcomm-linux:mainfrom
akakum-qualcomm:shikra-usb-role-switch-618

Conversation

@akakum-qualcomm

Copy link
Copy Markdown

On Shikra CQS/CQM platforms, usb-role-switch is handled by PM4125 on
the primary Type-C port and Cypress PD controller CYPD6129 on the
second Type-C port. On Shikra IQS platform, usb-role-switch is
handled by Cypress PD controller CYPD6129 on both Type-C ports.

Add the CYPD6129 typec node under i2c3, wire its connector endpoints
to the corresponding DWC3 controller ports via remote-endpoint
phandles, and switch the associated USB controllers to OTG mode so
role switching can take effect.

Signed-off-by: Akash Kumar akash.kumar@oss.qualcomm.com

links: https://lore.kernel.org/all/20260811-usb-shikra-v7-v7-0-753e928f37ae@oss.qualcomm.com/
https://lore.kernel.org/all/20260820145036.2035641-4-akash.kumar@oss.qualcomm.com/

Loading
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.