xref: /linux/drivers/net/phy/mediatek/Kconfig (revision 3cb1a3c9cbaaadaf91437374b96ec72256c40db2)
14c452f7eSSkyLake.Huang# SPDX-License-Identifier: GPL-2.0-only
27f9c320cSSkyLake.Huangconfig MTK_NET_PHYLIB
37f9c320cSSkyLake.Huang	tristate
47f9c320cSSkyLake.Huang
54c452f7eSSkyLake.Huangconfig MEDIATEK_GE_PHY
64c452f7eSSkyLake.Huang	tristate "MediaTek Gigabit Ethernet PHYs"
7*3cb1a3c9SSkyLake.Huang	select MTK_NET_PHYLIB
84c452f7eSSkyLake.Huang	help
94c452f7eSSkyLake.Huang	  Supports the MediaTek non-built-in Gigabit Ethernet PHYs.
104c452f7eSSkyLake.Huang
114c452f7eSSkyLake.Huang	  Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531.
124c452f7eSSkyLake.Huang	  You may find mt7530 inside mt7621. This driver shares some
134c452f7eSSkyLake.Huang	  common operations with MediaTek SoC built-in Gigabit
144c452f7eSSkyLake.Huang	  Ethernet PHYs.
154c452f7eSSkyLake.Huang
164c452f7eSSkyLake.Huangconfig MEDIATEK_GE_SOC_PHY
174c452f7eSSkyLake.Huang	tristate "MediaTek SoC Ethernet PHYs"
184c452f7eSSkyLake.Huang	depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST
194c452f7eSSkyLake.Huang	depends on NVMEM_MTK_EFUSE
207f9c320cSSkyLake.Huang	select MTK_NET_PHYLIB
214c452f7eSSkyLake.Huang	help
224c452f7eSSkyLake.Huang	  Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
234c452f7eSSkyLake.Huang
244c452f7eSSkyLake.Huang	  Include support for built-in Ethernet PHYs which are present in
254c452f7eSSkyLake.Huang	  the MT7981 and MT7988 SoCs. These PHYs need calibration data
264c452f7eSSkyLake.Huang	  present in the SoCs efuse and will dynamically calibrate VCM
274c452f7eSSkyLake.Huang	  (common-mode voltage) during startup.
28