developer | 9002093 | 2023-03-10 18:51:34 +0800 | [diff] [blame] | 1 | --- a/drivers/net/phy/Kconfig |
| 2 | +++ b/drivers/net/phy/Kconfig |
| 3 | @@ -582,6 +582,23 @@ config MEDIATEK_2P5GE_PHY |
| 4 | ---help--- |
| 5 | Supports MediaTek internal 2.5Gb Ethernet PHYs. |
| 6 | |
| 7 | +config MEDIATEK_GE_PHY |
| 8 | + tristate "MediaTek Gigabit Ethernet PHYs" |
| 9 | + help |
| 10 | + Supports the MediaTek Gigabit Ethernet PHYs. |
| 11 | + |
| 12 | ++config MEDIATEK_GE_PHY_SOC |
| 13 | + bool "MediaTek SoC Ethernet PHYs" |
| 14 | + depends on (ARM64 && ARCH_MEDIATEK && MEDIATEK_GE_PHY) || COMPILE_TEST |
| 15 | + select NVMEM_MTK_EFUSE |
| 16 | + help |
| 17 | + Supports MediaTek SoC built-in Gigabit Ethernet PHYs. |
| 18 | + |
| 19 | + Include support for built-in Ethernet PHYs which are present in |
| 20 | + the MT7981 and MT7988 SoCs. These PHYs need calibration data |
| 21 | + present in the SoCs efuse and will dynamically calibrate VCM |
| 22 | + (common-mode voltage) during startup. |
| 23 | + |
| 24 | config MICREL_PHY |
| 25 | tristate "Micrel PHYs" |
| 26 | ---help--- |
| 27 | --- a/drivers/net/phy/Makefile |
| 28 | +++ b/drivers/net/phy/Makefile |
| 29 | @@ -100,6 +100,7 @@ obj-$(CONFIG_MARVELL_PHY) += marvell.o |
| 30 | obj-$(CONFIG_MARVELL_10G_PHY) += marvell10g.o |
| 31 | obj-$(CONFIG_MAXLINEAR_GPHY) += mxl-gpy.o |
| 32 | obj-$(CONFIG_MEDIATEK_2P5GE_PHY)+= mediatek-2p5ge.o |
| 33 | +obj-$(CONFIG_MEDIATEK_GE_PHY) += mediatek-ge.o |
| 34 | obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o |
| 35 | obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o |
| 36 | obj-$(CONFIG_MICREL_PHY) += micrel.o |