We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6272077 commit 3a16101Copy full SHA for 3a16101
drivers/phy/freescale/phy-fsl-imx8m-pcie.c
@@ -110,8 +110,10 @@ static int imx8_pcie_phy_power_on(struct phy *phy)
110
/* Source clock from SoC internal PLL */
111
writel(ANA_PLL_CLK_OUT_TO_EXT_IO_SEL,
112
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG062);
113
- writel(AUX_PLL_REFCLK_SEL_SYS_PLL,
114
- imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG063);
+ if (imx8_phy->drvdata->variant != IMX8MM) {
+ writel(AUX_PLL_REFCLK_SEL_SYS_PLL,
115
+ imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG063);
116
+ }
117
val = ANA_AUX_RX_TX_SEL_TX | ANA_AUX_TX_TERM;
118
writel(val | ANA_AUX_RX_TERM_GND_EN,
119
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG064);
0 commit comments