phy: Restrict phy-hi6220-usb to HiSilicon arm64
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 15 Jan 2016 13:40:24 +0000 (14:40 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 3 Feb 2016 06:25:28 +0000 (11:55 +0530)
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>
drivers/phy/Kconfig

index e7e117d5dbbe466f71d7a836ee3b898a560a1bed..0124d17bd9fe4bbff14eaced2db3a5f6d5e09b1b 100644 (file)
@@ -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