]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
phy: imx8mq-usb: Add SPL support for i.MX8MQ, i.MX8MP, i.MX95, and i.MX94 USB3.0 PHY
authorAlice Guo <alice.guo@nxp.com>
Tue, 28 Oct 2025 02:46:27 +0000 (10:46 +0800)
committerFabio Estevam <festevam@nabladev.com>
Tue, 4 Nov 2025 15:39:46 +0000 (12:39 -0300)
This patch adds SPL Kconfig option (SPL_PHY_IMX8MQ_USB) for the i.MX8MQ,
i.MX8MP, i.MX95, and i.MX94 USB3.0 PHY driver, allowing the driver to be
compiled and probed in SPL stage.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
drivers/phy/Kconfig
drivers/phy/Makefile

index d36a5f00ef83e3bd6f216181df1a70c848bb11d4..420d7c7a44dd4e5b879c63b540e87b907a3f41fe 100644 (file)
@@ -289,11 +289,19 @@ config PHY_NPCM_USB
          Support the USB PHY in NPCM SoCs
 
 config PHY_IMX8MQ_USB
-       bool "NXP i.MX8MQ/i.MX8MP/i.MX95 USB PHY Driver"
+       bool "NXP i.MX8MQ/i.MX8MP/i.MX95/i.MX94 USB PHY Driver"
        depends on PHY
-       depends on IMX8MQ || IMX8MP || IMX95
+       depends on IMX8MQ || IMX8MP || IMX95 || IMX94
        help
-         Support the USB3.0 PHY in NXP i.MX8MQ, i.MX8MP, and i.MX95 SoC
+         Support the USB3.0 PHY in NXP i.MX8MQ, i.MX8MP, i.MX95, and i.MX94 SoCs.
+
+config SPL_PHY_IMX8MQ_USB
+       bool "Enable NXP i.MX8MQ/i.MX8MP/i.MX95/i.MX94 USB3.0 PHY Driver in SPL"
+       depends on SPL_PHY
+       depends on IMX8MQ || IMX8MP || IMX95 || IMX94
+       help
+         Enable support for the USB3.0 PHY in NXP i.MX8MQ, i.MX8MP, i.MX95, and
+         i.MX94 SoCs in SPL.
 
 config PHY_IMX8M_PCIE
        bool "NXP i.MX8MM/i.MX8MP PCIe PHY Driver"
index 98c1ef8683b7354ccb43426f32ba4dd2f2fcf6c6..5a6df0ecfebdc9cdef067788f31fcb08a1be83d3 100644 (file)
@@ -38,7 +38,7 @@ obj-$(CONFIG_PHY_DA8XX_USB) += phy-da8xx-usb.o
 obj-$(CONFIG_PHY_EXYNOS_USBDRD) += phy-exynos-usbdrd.o
 obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o
 obj-$(CONFIG_PHY_NPCM_USB) += phy-npcm-usb.o
-obj-$(CONFIG_PHY_IMX8MQ_USB) += phy-imx8mq-usb.o
+obj-$(CONFIG_$(PHASE_)PHY_IMX8MQ_USB) += phy-imx8mq-usb.o
 obj-$(CONFIG_PHY_IMX8M_PCIE) += phy-imx8m-pcie.o
 obj-$(CONFIG_PHY_XILINX_ZYNQMP) += phy-zynqmp.o
 obj-y += cadence/