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

phy: qcom-qmp-combo: populate offsets for all combo PHYs

In order to support newer style bindings for combo PHYs, populate
offsets for all Combo QMP PHY configurations.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230711120916.4165894-4-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
a542ae82 28e265bf

+8
+8
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
··· 1504 1504 }; 1505 1505 1506 1506 static const struct qmp_phy_cfg sc7180_usb3dpphy_cfg = { 1507 + .offsets = &qmp_combo_offsets_v3, 1508 + 1507 1509 .serdes_tbl = qmp_v3_usb3_serdes_tbl, 1508 1510 .serdes_tbl_num = ARRAY_SIZE(qmp_v3_usb3_serdes_tbl), 1509 1511 .tx_tbl = qmp_v3_usb3_tx_tbl, ··· 1549 1547 }; 1550 1548 1551 1549 static const struct qmp_phy_cfg sdm845_usb3dpphy_cfg = { 1550 + .offsets = &qmp_combo_offsets_v3, 1551 + 1552 1552 .serdes_tbl = qmp_v3_usb3_serdes_tbl, 1553 1553 .serdes_tbl_num = ARRAY_SIZE(qmp_v3_usb3_serdes_tbl), 1554 1554 .tx_tbl = qmp_v3_usb3_tx_tbl, ··· 1594 1590 }; 1595 1591 1596 1592 static const struct qmp_phy_cfg sc8180x_usb3dpphy_cfg = { 1593 + .offsets = &qmp_combo_offsets_v3, 1594 + 1597 1595 .serdes_tbl = sm8150_usb3_serdes_tbl, 1598 1596 .serdes_tbl_num = ARRAY_SIZE(sm8150_usb3_serdes_tbl), 1599 1597 .tx_tbl = sm8150_usb3_tx_tbl, ··· 1728 1722 }; 1729 1723 1730 1724 static const struct qmp_phy_cfg sm8250_usb3dpphy_cfg = { 1725 + .offsets = &qmp_combo_offsets_v3, 1726 + 1731 1727 .serdes_tbl = sm8150_usb3_serdes_tbl, 1732 1728 .serdes_tbl_num = ARRAY_SIZE(sm8150_usb3_serdes_tbl), 1733 1729 .tx_tbl = sm8250_usb3_tx_tbl,