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