xref: /linux/drivers/net/phy/mediatek/Kconfig (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: GPL-2.0-only
2config MTK_NET_PHYLIB
3	tristate
4
5config MEDIATEK_GE_PHY
6	tristate "MediaTek Gigabit Ethernet PHYs"
7	select MTK_NET_PHYLIB
8	help
9	  Supports the MediaTek non-built-in Gigabit Ethernet PHYs.
10
11	  Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531.
12	  You may find mt7530 inside mt7621. This driver shares some
13	  common operations with MediaTek SoC built-in Gigabit
14	  Ethernet PHYs.
15
16config MEDIATEK_GE_SOC_PHY
17	tristate "MediaTek SoC Ethernet PHYs"
18	depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST
19	depends on NVMEM_MTK_EFUSE
20	select MTK_NET_PHYLIB
21	help
22	  Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
23
24	  Include support for built-in Ethernet PHYs which are present in
25	  the MT7981 and MT7988 SoCs. These PHYs need calibration data
26	  present in the SoCs efuse and will dynamically calibrate VCM
27	  (common-mode voltage) during startup.
28