Skip to content
Commit ed4b981b authored by Richard Zhu's avatar Richard Zhu Committed by Greg Kroah-Hartman
Browse files

phy: freescale: imx8m-pcie: Refine i.MX8MM PCIe PHY driver

[ Upstream commit ca679c49

 ]

To make it more flexible and easy to expand. Refine i.MX8MM PCIe PHY
driver.
- Use gpr compatible string to avoid the codes duplications when add
  another platform PCIe PHY support.
- Re-arrange the codes to let it more flexible and easy to expand.
No functional change. Re-arrange the TX tuning, since internal registers
can be wrote through APB interface before assertion of CMN_RST.

Signed-off-by: default avatarRichard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Tested-by: default avatarMarek Vasut <marex@denx.de>
Tested-by: default avatarRichard Leitner <richard.leitner@skidata.com>
Tested-by: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Reviewed-by: default avatarAhmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/1665625622-20551-4-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: 3a161017

 ("phy: freescale: imx8m-pcie: fix pcie link-up instability")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d6a6bacd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment