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