mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
22 lines
595 B
Text
22 lines
595 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for Microchip devices
|
|
#
|
|
|
|
config PHY_SPARX5_SERDES
|
|
tristate "Microchip Sparx5 SerDes PHY driver"
|
|
select GENERIC_PHY
|
|
depends on ARCH_SPARX5 || COMPILE_TEST
|
|
depends on OF
|
|
depends on HAS_IOMEM
|
|
help
|
|
Enable this for support of the 10G/25G SerDes on Microchip Sparx5.
|
|
|
|
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
|
|
Enable this for supporting SerDes muxing with Microchip LAN966X
|