[PATCH v2 3/9] phy: qcom-qmp-combo: populate offsets for all combo PHYs
Neil Armstrong
neil.armstrong at linaro.org
Mon Mar 27 01:06:54 PDT 2023
On 26/03/2023 01:57, Dmitry Baryshkov wrote:
> In order to support newer style bindings for combo PHYs, populate
> offsets for all Combo QMP PHY configurations.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c
> index d35d80f2a4f4..5ce68d211998 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c
> @@ -1407,6 +1407,8 @@ static const struct qmp_combo_offsets qmp_combo_offsets_v5 = {
> };
>
> static const struct qmp_phy_cfg sc7180_usb3dpphy_cfg = {
> + .offsets = &qmp_combo_offsets_v3,
> +
> .serdes_tbl = qmp_v3_usb3_serdes_tbl,
> .serdes_tbl_num = ARRAY_SIZE(qmp_v3_usb3_serdes_tbl),
> .tx_tbl = qmp_v3_usb3_tx_tbl,
> @@ -1450,6 +1452,8 @@ static const struct qmp_phy_cfg sc7180_usb3dpphy_cfg = {
> };
>
> static const struct qmp_phy_cfg sdm845_usb3dpphy_cfg = {
> + .offsets = &qmp_combo_offsets_v3,
> +
> .serdes_tbl = qmp_v3_usb3_serdes_tbl,
> .serdes_tbl_num = ARRAY_SIZE(qmp_v3_usb3_serdes_tbl),
> .tx_tbl = qmp_v3_usb3_tx_tbl,
> @@ -1493,6 +1497,8 @@ static const struct qmp_phy_cfg sdm845_usb3dpphy_cfg = {
> };
>
> static const struct qmp_phy_cfg sc8180x_usb3dpphy_cfg = {
> + .offsets = &qmp_combo_offsets_v3,
> +
> .serdes_tbl = sm8150_usb3_serdes_tbl,
> .serdes_tbl_num = ARRAY_SIZE(sm8150_usb3_serdes_tbl),
> .tx_tbl = sm8150_usb3_tx_tbl,
> @@ -1625,6 +1631,8 @@ static const struct qmp_phy_cfg sm6350_usb3dpphy_cfg = {
> };
>
> static const struct qmp_phy_cfg sm8250_usb3dpphy_cfg = {
> + .offsets = &qmp_combo_offsets_v3,
> +
> .serdes_tbl = sm8150_usb3_serdes_tbl,
> .serdes_tbl_num = ARRAY_SIZE(sm8150_usb3_serdes_tbl),
> .tx_tbl = sm8250_usb3_tx_tbl,
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the linux-phy
mailing list