mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
The Microchip Sparx5 SerDes PHY is present only Microchip Sparx5 SoCs.
Hence add a dependency on ARCH_SPARX5, to prevent asking the user about
this driver when configuring a kernel without support for Sparx5 SoCs.
Fixes: 2ff8a1eeb5 ("phy: Add Sparx5 ethernet serdes PHY driver")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
14 lines
326 B
Plaintext
14 lines
326 B
Plaintext
# 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.
|