]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: qcom-qmp-usbc: Rename QCS615 DP PHY variables and functions
authorShawn Guo <shengchao.guo@oss.qualcomm.com>
Sat, 14 Mar 2026 05:13:23 +0000 (13:13 +0800)
committerVinod Koul <vkoul@kernel.org>
Sun, 10 May 2026 11:25:29 +0000 (16:55 +0530)
commitc834f0a69051e5db52172262dadf8f7b5ff58bd0
tree54b623e4c0327ac81ba77ade49f5d91124c82a90
parent9dfdd6e7bebd63eeef0ba57493adee91c34ae338
phy: qcom-qmp-usbc: Rename QCS615 DP PHY variables and functions

Commit 81791c45c8e0 ("phy: qcom: qmp-usbc: Add QCS615 USB/DP PHY config
and DP mode support") chose to name  QCS615 DP PHY variables/functions
with qmp_v2 prefix, by assuming that QMP PHY registers are versioned
as a whole.  However, the reality is that the registers are versioned
in sub-modules like QSERDES COM and QSERDES TXRX respectively, e.g.
QCS615 DP PHY has registers of QSERDES COM v2 and QSERDES TXRX v3.
Thus it may cause confusion that qmp_v2_xxx table and functions access
QSERDES TXRX v3 registers.

Rename QCS615 DP PHY variables and functions to be prefixed by qcs615
instead of qmp_v2.  This better aligns with how the driver names USB3 PHY
variables for QCM2290 etc.

Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
Link: https://patch.msgid.link/20260314051325.198137-5-shengchao.guo@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c