xref: /linux/drivers/net/phy/mediatek/Kconfig (revision 6d243c80fe9178878f4924804d35f1ed24f590cb)
14c452f7eSSkyLake.Huang# SPDX-License-Identifier: GPL-2.0-only
24c452f7eSSkyLake.Huangconfig MEDIATEK_GE_PHY
34c452f7eSSkyLake.Huang	tristate "MediaTek Gigabit Ethernet PHYs"
43cb1a3c9SSkyLake.Huang	select MTK_NET_PHYLIB
54c452f7eSSkyLake.Huang	help
64c452f7eSSkyLake.Huang	  Supports the MediaTek non-built-in Gigabit Ethernet PHYs.
74c452f7eSSkyLake.Huang
84c452f7eSSkyLake.Huang	  Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531.
94c452f7eSSkyLake.Huang	  You may find mt7530 inside mt7621. This driver shares some
104c452f7eSSkyLake.Huang	  common operations with MediaTek SoC built-in Gigabit
114c452f7eSSkyLake.Huang	  Ethernet PHYs.
124c452f7eSSkyLake.Huang
134c452f7eSSkyLake.Huangconfig MEDIATEK_GE_SOC_PHY
144c452f7eSSkyLake.Huang	tristate "MediaTek SoC Ethernet PHYs"
156a325aedSChristian Marangi	depends on ARM64 || COMPILE_TEST
166a325aedSChristian Marangi	depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \
176a325aedSChristian Marangi		   COMPILE_TEST
187f9c320cSSkyLake.Huang	select MTK_NET_PHYLIB
194c452f7eSSkyLake.Huang	help
204c452f7eSSkyLake.Huang	  Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
214c452f7eSSkyLake.Huang
224c452f7eSSkyLake.Huang	  Include support for built-in Ethernet PHYs which are present in
234c452f7eSSkyLake.Huang	  the MT7981 and MT7988 SoCs. These PHYs need calibration data
244c452f7eSSkyLake.Huang	  present in the SoCs efuse and will dynamically calibrate VCM
254c452f7eSSkyLake.Huang	  (common-mode voltage) during startup.
26*6d243c80SSky Huang
27*6d243c80SSky Huangconfig MTK_NET_PHYLIB
28*6d243c80SSky Huang	tristate
29