瀏覽代碼

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.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Geert Uytterhoeven 9 年之前
父節點
當前提交
d896910f38
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/phy/Kconfig

+ 1 - 0
drivers/phy/Kconfig

@@ -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