Skip to content

Commit 6dd24b0

Browse files
Richard Zhubjorn-helgaas
authored andcommitted
PCI: imx6: Remove surplus imx7d_pcie_init_phy() function
This function essentially duplicates imx7d_pcie_enable_ref_clk(). So remove it. Link: https://lore.kernel.org/r/20241126075702.4099164-8-hongxing.zhu@nxp.com Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Frank Li <Frank.Li@nxp.com>
1 parent 93d883f commit 6dd24b0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/pci/controller/dwc/pci-imx6.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,6 @@ static int imx8mq_pcie_init_phy(struct imx_pcie *imx_pcie)
395395
return 0;
396396
}
397397

398-
static int imx7d_pcie_init_phy(struct imx_pcie *imx_pcie)
399-
{
400-
regmap_update_bits(imx_pcie->iomuxc_gpr, IOMUXC_GPR12, IMX7D_GPR12_PCIE_PHY_REFCLK_SEL, 0);
401-
402-
return 0;
403-
}
404-
405398
static int imx_pcie_init_phy(struct imx_pcie *imx_pcie)
406399
{
407400
regmap_update_bits(imx_pcie->iomuxc_gpr, IOMUXC_GPR12,
@@ -1571,7 +1564,6 @@ static const struct imx_pcie_drvdata drvdata[] = {
15711564
.clks_cnt = ARRAY_SIZE(imx6q_clks),
15721565
.mode_off[0] = IOMUXC_GPR12,
15731566
.mode_mask[0] = IMX6Q_GPR12_DEVICE_TYPE,
1574-
.init_phy = imx7d_pcie_init_phy,
15751567
.enable_ref_clk = imx7d_pcie_enable_ref_clk,
15761568
.core_reset = imx7d_pcie_core_reset,
15771569
},

0 commit comments

Comments
 (0)