]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: qcom: qmp-combo: Add polarity inversion support for SAR2130P
authorKrishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Fri, 17 Oct 2025 20:34:38 +0000 (02:04 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 Jan 2026 09:31:54 +0000 (15:01 +0530)
commit24991bfbbd84d68d5710e1563752047914db941a
tree5fc83f8d61ab20a1f1baa322c44a6387c7b3e0f1
parent3554ded4f02aa8e95af66911aa666b2cd192022d
phy: qcom: qmp-combo: Add polarity inversion support for SAR2130P

On SAR2130P QXR Platform, the CC Lines are inverted and the lane
programming is to be done reverse compared to other targets.

As per the HW specifics, Bit-2 of TYPEC_CTRL register indicates
port select polarity. This bit is to be set for SAR2130P.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20251017203438.744197-1-krishna.kurapati@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c