phy: qcom-qmp-combo: fix v3 offsets table
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 23 Mar 2023 14:47:25 +0000 (17:47 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 13:49:10 +0000 (19:19 +0530)
SM8350 and SM8450 use qmp_combo_offsets_v3 table, which doesn't have
PCS_USB offset. Add the usb3_pcs_usb entry to program correct registers
while setting up sm8350 and sm8450 USB+DP combo PHYs.

Fixes: 05bd18348b88 ("phy: qcom-qmp-combo: Add config for SM6350")
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230323144726.1614344-1-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c

index c1483e157af4ab1a2efe721a68b16801a3d9abd6..3b488d12c933026570a70058d10d589b789a5656 100644 (file)
@@ -1396,6 +1396,7 @@ static const struct qmp_combo_offsets qmp_combo_offsets_v3 = {
        .usb3_serdes    = 0x1000,
        .usb3_pcs_misc  = 0x1a00,
        .usb3_pcs       = 0x1c00,
+       .usb3_pcs_usb   = 0x1f00,
        .dp_serdes      = 0x2000,
        .dp_txa         = 0x2200,
        .dp_txb         = 0x2600,