Merge branch 'fixes' into next
authorVinod Koul <vkoul@kernel.org>
Fri, 13 Oct 2023 09:59:08 +0000 (15:29 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 13 Oct 2023 09:59:08 +0000 (15:29 +0530)
Merge fixes into next as qmp phy patches on list depend on it

1  2 
drivers/phy/qualcomm/phy-qcom-m31.c
drivers/phy/qualcomm/phy-qcom-qmp-usb.c

@@@ -82,51 -82,7 +82,51 @@@ struct m31_priv_data 
        unsigned int                    nregs;
  };
  
- struct m31_phy_regs m31_ipq5332_regs[] = {
 +static const struct m31_phy_regs m31_ipq5018_regs[] = {
 +      {
 +              .off = USB_PHY_CFG0,
 +              .val = UTMI_PHY_OVERRIDE_EN
 +      },
 +      {
 +              .off = USB_PHY_UTMI_CTRL5,
 +              .val = POR_EN,
 +              .delay = 15
 +      },
 +      {
 +              .off = USB_PHY_FSEL_SEL,
 +              .val = FREQ_SEL
 +      },
 +      {
 +              .off = USB_PHY_HS_PHY_CTRL_COMMON0,
 +              .val = COMMONONN | FSEL | RETENABLEN
 +      },
 +      {
 +              .off = USB_PHY_REFCLK_CTRL,
 +              .val = CLKCORE
 +      },
 +      {
 +              .off = USB_PHY_UTMI_CTRL5,
 +              .val = POR_EN
 +      },
 +      {
 +              .off = USB_PHY_HS_PHY_CTRL2,
 +              .val = USB2_SUSPEND_N_SEL | USB2_SUSPEND_N | USB2_UTMI_CLK_EN
 +      },
 +      {
 +              .off = USB_PHY_UTMI_CTRL5,
 +              .val = 0x0
 +      },
 +      {
 +              .off = USB_PHY_HS_PHY_CTRL2,
 +              .val = USB2_SUSPEND_N | USB2_UTMI_CLK_EN
 +      },
 +      {
 +              .off = USB_PHY_CFG0,
 +              .val = 0x0
 +      },
 +};
 +
+ static struct m31_phy_regs m31_ipq5332_regs[] = {
        {
                USB_PHY_CFG0,
                UTMI_PHY_OVERRIDE_EN,
@@@ -1378,6 -1389,12 +1384,8 @@@ static const struct qmp_phy_cfg sa8775p
        .rx_tbl_num             = ARRAY_SIZE(sc8280xp_usb3_uniphy_rx_tbl),
        .pcs_tbl                = sa8775p_usb3_uniphy_pcs_tbl,
        .pcs_tbl_num            = ARRAY_SIZE(sa8775p_usb3_uniphy_pcs_tbl),
 -      .clk_list               = qmp_v4_phy_clk_l,
 -      .num_clks               = ARRAY_SIZE(qmp_v4_phy_clk_l),
 -      .reset_list             = qcm2290_usb3phy_reset_l,
 -      .num_resets             = ARRAY_SIZE(qcm2290_usb3phy_reset_l),
+       .pcs_usb_tbl            = sa8775p_usb3_uniphy_pcs_usb_tbl,
+       .pcs_usb_tbl_num        = ARRAY_SIZE(sa8775p_usb3_uniphy_pcs_usb_tbl),
        .vreg_list              = qmp_phy_vreg_l,
        .num_vregs              = ARRAY_SIZE(qmp_phy_vreg_l),
        .regs                   = qmp_v5_usb3phy_regs_layout,
@@@ -1396,6 -1413,12 +1404,8 @@@ static const struct qmp_phy_cfg sc8280x
        .rx_tbl_num             = ARRAY_SIZE(sc8280xp_usb3_uniphy_rx_tbl),
        .pcs_tbl                = sc8280xp_usb3_uniphy_pcs_tbl,
        .pcs_tbl_num            = ARRAY_SIZE(sc8280xp_usb3_uniphy_pcs_tbl),
 -      .clk_list               = qmp_v4_phy_clk_l,
 -      .num_clks               = ARRAY_SIZE(qmp_v4_phy_clk_l),
 -      .reset_list             = qcm2290_usb3phy_reset_l,
 -      .num_resets             = ARRAY_SIZE(qcm2290_usb3phy_reset_l),
+       .pcs_usb_tbl            = sc8280xp_usb3_uniphy_pcs_usb_tbl,
+       .pcs_usb_tbl_num        = ARRAY_SIZE(sc8280xp_usb3_uniphy_pcs_usb_tbl),
        .vreg_list              = qmp_phy_vreg_l,
        .num_vregs              = ARRAY_SIZE(qmp_phy_vreg_l),
        .regs                   = qmp_v5_usb3phy_regs_layout,