Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: qcom-qmp-usb: fix the regs layout table for sdx65 uniphy PHY

The sdx64 uniphy gen3x1 PHY references the qmp_v4_usb3phy_regs_layout
while the PHY itself uses v5 regs. While there are only minor
differences between v4 and v5 regs and none of them concerns registers
mentions in regs_layout, switch the PHY to use
qmp_v5_usb3phy_regs_layout, to remove possible confusion.

Fixes: 14d98d3bf70e ("phy: qcom-qmp-usb: fix regs layout arrays")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230113212138.421583-2-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
0dcaef53 c08436c1

+1 -1
+1 -1
drivers/phy/qualcomm/phy-qcom-qmp-usb.c
··· 1862 1862 .num_resets = ARRAY_SIZE(msm8996_usb3phy_reset_l), 1863 1863 .vreg_list = qmp_phy_vreg_l, 1864 1864 .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 1865 - .regs = qmp_v4_usb3phy_regs_layout, 1865 + .regs = qmp_v5_usb3phy_regs_layout, 1866 1866 .pcs_usb_offset = 0x1000, 1867 1867 1868 1868 .has_pwrdn_delay = true,