Commit 203b7ee1 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman

phy: Enable compile testing for some of drivers

Some of the phy drivers can be compile tested to increase build
coverage.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200103164710.4829-2-krzk@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e52af1c
...@@ -48,7 +48,8 @@ config PHY_SUN9I_USB ...@@ -48,7 +48,8 @@ config PHY_SUN9I_USB
config PHY_SUN50I_USB3 config PHY_SUN50I_USB3
tristate "Allwinner H6 SoC USB3 PHY driver" tristate "Allwinner H6 SoC USB3 PHY driver"
depends on ARCH_SUNXI && HAS_IOMEM && OF depends on ARCH_SUNXI || COMPILE_TEST
depends on HAS_IOMEM && OF
depends on RESET_CONTROLLER depends on RESET_CONTROLLER
select GENERIC_PHY select GENERIC_PHY
help help
......
...@@ -50,7 +50,7 @@ config PHY_BCM_NS_USB3 ...@@ -50,7 +50,7 @@ config PHY_BCM_NS_USB3
config PHY_NS2_PCIE config PHY_NS2_PCIE
tristate "Broadcom Northstar2 PCIe PHY driver" tristate "Broadcom Northstar2 PCIe PHY driver"
depends on OF && MDIO_BUS_MUX_BCM_IPROC depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
select GENERIC_PHY select GENERIC_PHY
default ARCH_BCM_IPROC default ARCH_BCM_IPROC
help help
...@@ -83,7 +83,7 @@ config PHY_BRCM_SATA ...@@ -83,7 +83,7 @@ config PHY_BRCM_SATA
config PHY_BRCM_USB config PHY_BRCM_USB
tristate "Broadcom STB USB PHY driver" tristate "Broadcom STB USB PHY driver"
depends on ARCH_BRCMSTB depends on ARCH_BRCMSTB || COMPILE_TEST
depends on OF depends on OF
select GENERIC_PHY select GENERIC_PHY
select SOC_BRCMSTB select SOC_BRCMSTB
......
...@@ -10,14 +10,16 @@ config ARMADA375_USBCLUSTER_PHY ...@@ -10,14 +10,16 @@ config ARMADA375_USBCLUSTER_PHY
config PHY_BERLIN_SATA config PHY_BERLIN_SATA
tristate "Marvell Berlin SATA PHY driver" tristate "Marvell Berlin SATA PHY driver"
depends on ARCH_BERLIN && HAS_IOMEM && OF depends on ARCH_BERLIN || COMPILE_TEST
depends on OF && HAS_IOMEM
select GENERIC_PHY select GENERIC_PHY
help help
Enable this to support the SATA PHY on Marvell Berlin SoCs. Enable this to support the SATA PHY on Marvell Berlin SoCs.
config PHY_BERLIN_USB config PHY_BERLIN_USB
tristate "Marvell Berlin USB PHY Driver" tristate "Marvell Berlin USB PHY Driver"
depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF depends on ARCH_BERLIN || COMPILE_TEST
depends on OF && HAS_IOMEM && RESET_CONTROLLER
select GENERIC_PHY select GENERIC_PHY
help help
Enable this to support the USB PHY on Marvell Berlin SoCs. Enable this to support the USB PHY on Marvell Berlin SoCs.
...@@ -95,7 +97,7 @@ config PHY_PXA_28NM_USB2 ...@@ -95,7 +97,7 @@ config PHY_PXA_28NM_USB2
config PHY_PXA_USB config PHY_PXA_USB
tristate "Marvell PXA USB PHY Driver" tristate "Marvell PXA USB PHY Driver"
depends on ARCH_PXA || ARCH_MMP depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
select GENERIC_PHY select GENERIC_PHY
help help
Enable this to support Marvell PXA USB PHY driver for Marvell Enable this to support Marvell PXA USB PHY driver for Marvell
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
config PHY_MTK_TPHY config PHY_MTK_TPHY
tristate "MediaTek T-PHY Driver" tristate "MediaTek T-PHY Driver"
depends on ARCH_MEDIATEK && OF depends on ARCH_MEDIATEK && OF
depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF
select GENERIC_PHY select GENERIC_PHY
help help
Say 'Y' here to add support for MediaTek T-PHY driver, Say 'Y' here to add support for MediaTek T-PHY driver,
...@@ -16,7 +18,8 @@ config PHY_MTK_TPHY ...@@ -16,7 +18,8 @@ config PHY_MTK_TPHY
config PHY_MTK_UFS config PHY_MTK_UFS
tristate "MediaTek UFS M-PHY driver" tristate "MediaTek UFS M-PHY driver"
depends on ARCH_MEDIATEK && OF depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF
select GENERIC_PHY select GENERIC_PHY
help help
Support for UFS M-PHY on MediaTek chipsets. Support for UFS M-PHY on MediaTek chipsets.
...@@ -26,7 +29,8 @@ config PHY_MTK_UFS ...@@ -26,7 +29,8 @@ config PHY_MTK_UFS
config PHY_MTK_XSPHY config PHY_MTK_XSPHY
tristate "MediaTek XS-PHY Driver" tristate "MediaTek XS-PHY Driver"
depends on ARCH_MEDIATEK && OF depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF
select GENERIC_PHY select GENERIC_PHY
help help
Enable this to support the SuperSpeedPlus XS-PHY transceiver for Enable this to support the SuperSpeedPlus XS-PHY transceiver for
......
...@@ -32,7 +32,7 @@ config PHY_EXYNOS_PCIE ...@@ -32,7 +32,7 @@ config PHY_EXYNOS_PCIE
config PHY_SAMSUNG_USB2 config PHY_SAMSUNG_USB2
tristate "Samsung USB 2.0 PHY driver" tristate "Samsung USB 2.0 PHY driver"
depends on HAS_IOMEM depends on HAS_IOMEM
depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
select GENERIC_PHY select GENERIC_PHY
select MFD_SYSCON select MFD_SYSCON
default ARCH_EXYNOS default ARCH_EXYNOS
...@@ -60,7 +60,7 @@ config PHY_EXYNOS5250_USB2 ...@@ -60,7 +60,7 @@ config PHY_EXYNOS5250_USB2
config PHY_S5PV210_USB2 config PHY_S5PV210_USB2
bool "Support for S5PV210" bool "Support for S5PV210"
depends on PHY_SAMSUNG_USB2 depends on PHY_SAMSUNG_USB2
depends on ARCH_S5PV210 depends on ARCH_S5PV210 || COMPILE_TEST
help help
Enable USB PHY support for S5PV210. This option requires that Samsung Enable USB PHY support for S5PV210. This option requires that Samsung
USB 2.0 PHY driver is enabled and means that support for this USB 2.0 PHY driver is enabled and means that support for this
...@@ -69,7 +69,7 @@ config PHY_S5PV210_USB2 ...@@ -69,7 +69,7 @@ config PHY_S5PV210_USB2
config PHY_EXYNOS5_USBDRD config PHY_EXYNOS5_USBDRD
tristate "Exynos5 SoC series USB DRD PHY driver" tristate "Exynos5 SoC series USB DRD PHY driver"
depends on ARCH_EXYNOS && OF depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
depends on USB_DWC3_EXYNOS depends on USB_DWC3_EXYNOS
select GENERIC_PHY select GENERIC_PHY
...@@ -82,7 +82,7 @@ config PHY_EXYNOS5_USBDRD ...@@ -82,7 +82,7 @@ config PHY_EXYNOS5_USBDRD
config PHY_EXYNOS5250_SATA config PHY_EXYNOS5250_SATA
tristate "Exynos5250 Sata SerDes/PHY driver" tristate "Exynos5250 Sata SerDes/PHY driver"
depends on SOC_EXYNOS5250 depends on SOC_EXYNOS5250 || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
depends on OF depends on OF
select GENERIC_PHY select GENERIC_PHY
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
config PHY_DA8XX_USB config PHY_DA8XX_USB
tristate "TI DA8xx USB PHY Driver" tristate "TI DA8xx USB PHY Driver"
depends on ARCH_DAVINCI_DA8XX depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
select GENERIC_PHY select GENERIC_PHY
select MFD_SYSCON select MFD_SYSCON
help help
...@@ -14,7 +14,7 @@ config PHY_DA8XX_USB ...@@ -14,7 +14,7 @@ config PHY_DA8XX_USB
config PHY_DM816X_USB config PHY_DM816X_USB
tristate "TI dm816x USB PHY driver" tristate "TI dm816x USB PHY driver"
depends on ARCH_OMAP2PLUS depends on ARCH_OMAP2PLUS || COMPILE_TEST
depends on USB_SUPPORT depends on USB_SUPPORT
select GENERIC_PHY select GENERIC_PHY
select USB_PHY select USB_PHY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment