xref: /linux/drivers/net/phy/mediatek/Kconfig (revision df9c299371054cb725eef730fd0f1d0fe2ed6bb0)
1# SPDX-License-Identifier: GPL-2.0-only
2config MEDIATEK_2P5GE_PHY
3	tristate "MediaTek 2.5Gb Ethernet PHYs"
4	depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST
5	select MTK_NET_PHYLIB
6	help
7	  Supports MediaTek SoC built-in 2.5Gb Ethernet PHYs.
8
9	  This will load necessary firmware and add appropriate time delay.
10	  Accelerate this procedure through internal pbus instead of MDIO
11	  bus. Certain link-up issues will also be fixed here.
12
13config MEDIATEK_GE_PHY
14	tristate "MediaTek Gigabit Ethernet PHYs"
15	select MTK_NET_PHYLIB
16	help
17	  Supports the MediaTek non-built-in Gigabit Ethernet PHYs.
18
19	  Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531.
20	  You may find mt7530 inside mt7621. This driver shares some
21	  common operations with MediaTek SoC built-in Gigabit
22	  Ethernet PHYs.
23
24config MEDIATEK_GE_SOC_PHY
25	tristate "MediaTek SoC Ethernet PHYs"
26	depends on ARM64 || COMPILE_TEST
27	depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \
28		   COMPILE_TEST
29	select MTK_NET_PHYLIB
30	help
31	  Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
32
33	  Include support for built-in Ethernet PHYs which are present in
34	  the MT7981 and MT7988 SoCs. These PHYs need calibration data
35	  present in the SoCs efuse and will dynamically calibrate VCM
36	  (common-mode voltage) during startup.
37
38config MTK_NET_PHYLIB
39	tristate
40