phy: phy-imx8mq-usb: Add support for i.MX95 USB3 PHY
Subsystems (2)
PATCH RESEND 1/1 phy: phy-imx8mq-usb: Add support for i.MX95 USB3 PHY
Add initial support for i.MX95 USB.30 PHY, which is similar to the i.MX8MQ and i.MX8MP USB PHY.
The i.MX95 USB3 PHY has a Type-C Assist block (TCA) consisting of two functional blocks (XBar assist and VBus assist) and is documented in the i.MX95 RM Chapter 163.3.8 Type-C assist (TCA) block.
Instead of relying on an external MUX for Type-C plug orientation the XBar can handle the flip internally.
Add initial support for i.MX95 by:
- allowing the driver to be enabled i.MX95
- resetting the XBar
- configuring the TCA in System Configuration mode (which was determined to be necessary to enable the PHY in device-mode)
Follow-on support will need to be added to steer the XBar based on either board design (if only one pair is brought out) or if used with a Type-C controller.
--- drivers/phy/Kconfig | 6 +-- drivers/phy/phy-imx8mq-usb.c | 91 +++++++++++++++++++++++++++++++++++- 2 files changed, 93 insertions(+), 4 deletions(-)
drivers/phy/Kconfig +3 -3
@@ -280,11 +280,11 @@ config PHY_NPCM_USB Support the USB PHY in NPCM SoCs config PHY_IMX8MQ_USB - bool "NXP i.MX8MQ/i.MX8MP USB PHY Driver" + bool "NXP i.MX8MQ/i.MX8MP/i.MX95 USB PHY Driver" depends on PHY - depends on IMX8MQ || IMX8MP + depends on IMX8MQ || IMX8MP || IMX95 help - Support the USB3.0 PHY in NXP i.MX8MQ or i.MX8MP SoC + Support the USB3.0 PHY in NXP i.MX8MQ, i.MX8MP, and i.MX95 SoC config PHY_IMX8M_PCIE bool "NXP i.MX8MM/i.MX8MP PCIe PHY Driver"
drivers/phy/phy-imx8mq-usb.c +90 -1
132 lines not on this page · raw message
Signature · 1 line
2.25.1
Quoted 26 lines
-----邮件原件-----
发件人: Tim Harvey <[email protected]>
发送时间: 2025年7月9日 23:24
收件人: [email protected]
抄送: Marek Vasut <[email protected]>; Fabio Estevam <[email protected]>; Alice Guo (OSS) <[email protected]>; dl-uboot-imx <[email protected]>; Peng Fan <[email protected]>; Stefano Babic <[email protected]>; Ye Li <[email protected]>; Tom Rini <[email protected]>; [email protected] 主题: [RESEND PATCH] phy: phy-imx8mq-usb: Add support for i.MX95 USB3 PHYAdd initial support for i.MX95 USB.30 PHY, which is similar to the i.MX8MQ and i.MX8MP USB PHY.
The i.MX95 USB3 PHY has a Type-C Assist block (TCA) consisting of two functional blocks (XBar assist and VBus assist) and is documented in the i.MX95 RM Chapter 163.3.8 Type-C assist (TCA) block.
Instead of relying on an external MUX for Type-C plug orientation the XBar can handle the flip internally.
Add initial support for i.MX95 by:
- allowing the driver to be enabled i.MX95
- resetting the XBar
- configuring the TCA in System Configuration mode (which was determined to be necessary to enable the PHY in device-mode)
Quoted 4 lines
Follow-on support will need to be added to steer the XBar based on either board design (if only one pair is brought out) or if used with a Type-C controller.
Signed-off-by Tim Harvey <[email protected]>
Best Regards,
Alice Guo