]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: qcom: qmp-usbc: Add TCSR parsing and PHY mode setting
authorXiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Mon, 15 Dec 2025 12:42:04 +0000 (20:42 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 17:41:05 +0000 (23:11 +0530)
commit9ab26cb7e652f3cdfb3d59fb42907c0229f2a93f
tree4a36905a54cb2da2ce497733af51b0a51745d525
parentcb2255822509c9dcdd1fad0cd167032dee7dc6c1
phy: qcom: qmp-usbc: Add TCSR parsing and PHY mode setting

Extend TCSR parsing to read optional dp_phy_mode_reg and add
qmp_usbc_set_phy_mode() to switch between USB and DP modes when
supported.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Link: https://patch.msgid.link/20251215-add-displayport-support-for-qcs615-platform-v8-8-cbc72c88a44e@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c