Commit 089667aa authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Vinod Koul

phy: realtek: Realtek PHYs should depend on ARCH_REALTEK

The Realtek SoC USB2 and USB3 PHY Transceivers are only present on
Realtek Digital Home Center (DHC) RTD series SoCs.  Hence add a
dependency on ARCH_REALTEK, to prevent asking the user about these
drivers when configuring a kernel without Realtek SoC support.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/2892527cac9af6fa8f5e7b8daeffd7d4351fde68.1692113167.git.geert+renesas@glider.beSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 11395c32
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# #
# Phy drivers for Realtek platforms # Phy drivers for Realtek platforms
# #
if ARCH_REALTEK || COMPILE_TEST
config PHY_RTK_RTD_USB2PHY config PHY_RTK_RTD_USB2PHY
tristate "Realtek RTD USB2 PHY Transceiver Driver" tristate "Realtek RTD USB2 PHY Transceiver Driver"
depends on USB_SUPPORT depends on USB_SUPPORT
...@@ -25,3 +28,5 @@ config PHY_RTK_RTD_USB3PHY ...@@ -25,3 +28,5 @@ config PHY_RTK_RTD_USB3PHY
The DHC (digital home center) RTD series SoCs used the Synopsys The DHC (digital home center) RTD series SoCs used the Synopsys
DWC3 USB IP. This driver will do the PHY initialization DWC3 USB IP. This driver will do the PHY initialization
of the parameters. of the parameters.
endif # ARCH_REALTEK || COMPILE_TEST
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