Skip to contentSkip to conversation

phy: Restrict phy-hi6220-usb to HiSilicon arm64

PATCH New Geert Uytterhoeven 1 participant 1 message Jan 15, 2016 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: Restrict phy-hi6220-usb to HiSilicon arm64

The HiSilicon Hi6220 USB PHY is available in HiSilicon Hi6220 SoCs only. Restrict it to HiSilicon arm64, unless compile-testing.

---
 drivers/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/Kconfig +1 -0
index e7e117d5dbbe466f..0124d17bd9fe4bbf 100644
@@ -224,6 +224,7 @@ config PHY_MT65XX_USB3
 
 config PHY_HI6220_USB
 	tristate "hi6220 USB PHY support"
+	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
 	select GENERIC_PHY
 	select MFD_SYSCON
 	help
Signature · 1 line
1.9.1