aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2025-01-20 15:35:03 +0100
committerVinod Koul <vkoul@kernel.org>2025-02-14 18:04:57 +0530
commit7dff18535b93ea1ce6dbaf36b7ae670f04113d08 (patch)
tree538ef017fb4c3c46a0f86e0b823871db05c0b4f0
parentphy: fsl-imx8mq-usb: add tca function driver for imx95 (diff)
downloadwireguard-linux-7dff18535b93ea1ce6dbaf36b7ae670f04113d08.tar.xz
wireguard-linux-7dff18535b93ea1ce6dbaf36b7ae670f04113d08.zip
phy: PHY_LAN966X_SERDES should depend on SOC_LAN966 || MCHP_LAN966X_PCI
The Microchip LAN966X SerDes PHY is only present on Microchip LAN966x SoCs. However, when used as a PCI endpoint, all peripherals of the LAN966x SoC can be accessed by the PCI host. Hence add dependencies on SOC_LAN966 and MCHP_LAN966X_PCI, to prevent asking the user about this driver when configuring a kernel without Microchip LAN966x SoC and PCIe support. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Herve Codina <herve.codina@bootlin.com> Link: https://lore.kernel.org/r/369233dfded88ff6fb342e03794fe31985d84d82.1737383314.git.geert+renesas@glider.be Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/phy/microchip/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/microchip/Kconfig b/drivers/phy/microchip/Kconfig
index 38039ed0754c..2f0045e874ac 100644
--- a/drivers/phy/microchip/Kconfig
+++ b/drivers/phy/microchip/Kconfig
@@ -15,6 +15,7 @@ config PHY_SPARX5_SERDES
config PHY_LAN966X_SERDES
tristate "SerDes PHY driver for Microchip LAN966X"
select GENERIC_PHY
+ depends on SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
depends on OF
depends on MFD_SYSCON
help