[PATCH] phy: mediatek: allow building T-PHY driver for MT7621 MIPS SoC

Shiji Yang yangshiji66 at outlook.com
Thu Feb 19 04:53:29 PST 2026


MT7621 also has compatible T-PHY which attached to the XHCI interface.

Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
---
 drivers/phy/mediatek/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/mediatek/Kconfig b/drivers/phy/mediatek/Kconfig
index ba6461350..fa69df3f1 100644
--- a/drivers/phy/mediatek/Kconfig
+++ b/drivers/phy/mediatek/Kconfig
@@ -26,7 +26,7 @@ config PHY_MTK_XFI_TPHY
 
 config PHY_MTK_TPHY
 	tristate "MediaTek T-PHY Driver"
-	depends on ARCH_MEDIATEK || COMPILE_TEST
+	depends on ARCH_MEDIATEK || SOC_MT7621 || COMPILE_TEST
 	depends on OF && OF_ADDRESS
 	depends on HAS_IOMEM
 	select GENERIC_PHY
-- 
2.51.0




More information about the linux-arm-kernel mailing list