xref: /linux/drivers/net/phy/mediatek/Kconfig (revision a0285236ab93fdfdd1008afaa04561d142d6c276)
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 || COMPILE_TEST
19	depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \
20		   COMPILE_TEST
21	select MTK_NET_PHYLIB
22	help
23	  Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
24
25	  Include support for built-in Ethernet PHYs which are present in
26	  the MT7981 and MT7988 SoCs. These PHYs need calibration data
27	  present in the SoCs efuse and will dynamically calibrate VCM
28	  (common-mode voltage) during startup.
29