developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 0e0b69abbc9fdba0bf1ea723cee71b2a2402559e Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:28 +0800 |
| 4 | Subject: [PATCH] |
| 5 | [networking][999-2703-net-phy-backport-v5.4-mediatek-ge-and-v6.4-mediatek-ge-soc.patch] |
| 6 | |
| 7 | --- |
| 8 | drivers/net/phy/Kconfig | 17 +++++++++++++++++ |
| 9 | drivers/net/phy/Makefile | 2 ++ |
| 10 | 2 files changed, 19 insertions(+) |
| 11 | |
| 12 | diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig |
| 13 | index 5eeccfee2..ec5c66d0a 100644 |
developer | 9002093 | 2023-03-10 18:51:34 +0800 | [diff] [blame] | 14 | --- a/drivers/net/phy/Kconfig |
| 15 | +++ b/drivers/net/phy/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 16 | @@ -512,6 +512,23 @@ config MESON_GXL_PHY |
developer | 9002093 | 2023-03-10 18:51:34 +0800 | [diff] [blame] | 17 | ---help--- |
developer | 394d5eb | 2023-04-14 16:46:45 +0800 | [diff] [blame] | 18 | Currently has a driver for the Amlogic Meson GXL Internal PHY |
developer | 9002093 | 2023-03-10 18:51:34 +0800 | [diff] [blame] | 19 | |
| 20 | +config MEDIATEK_GE_PHY |
| 21 | + tristate "MediaTek Gigabit Ethernet PHYs" |
| 22 | + help |
| 23 | + Supports the MediaTek Gigabit Ethernet PHYs. |
| 24 | + |
developer | 394d5eb | 2023-04-14 16:46:45 +0800 | [diff] [blame] | 25 | +config MEDIATEK_GE_SOC_PHY |
developer | 9002093 | 2023-03-10 18:51:34 +0800 | [diff] [blame] | 26 | + bool "MediaTek SoC Ethernet PHYs" |
developer | 394d5eb | 2023-04-14 16:46:45 +0800 | [diff] [blame] | 27 | + depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST |
developer | 9002093 | 2023-03-10 18:51:34 +0800 | [diff] [blame] | 28 | + select NVMEM_MTK_EFUSE |
| 29 | + help |
| 30 | + Supports MediaTek SoC built-in Gigabit Ethernet PHYs. |
| 31 | + |
| 32 | + Include support for built-in Ethernet PHYs which are present in |
| 33 | + the MT7981 and MT7988 SoCs. These PHYs need calibration data |
| 34 | + present in the SoCs efuse and will dynamically calibrate VCM |
| 35 | + (common-mode voltage) during startup. |
| 36 | + |
| 37 | config MICREL_PHY |
| 38 | tristate "Micrel PHYs" |
| 39 | ---help--- |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 40 | diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile |
| 41 | index 437ff2a2c..f4feb0e3d 100644 |
| 42 | --- a/drivers/net/phy/Makefile |
| 43 | +++ b/drivers/net/phy/Makefile |
| 44 | @@ -94,6 +94,8 @@ obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o |
| 45 | obj-$(CONFIG_LXT_PHY) += lxt.o |
| 46 | obj-$(CONFIG_MARVELL_PHY) += marvell.o |
| 47 | obj-$(CONFIG_MARVELL_10G_PHY) += marvell10g.o |
| 48 | +obj-$(CONFIG_MEDIATEK_GE_PHY) += mediatek-ge.o |
| 49 | +obj-$(CONFIG_MEDIATEK_GE_SOC_PHY) += mediatek-ge-soc.o |
| 50 | obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o |
| 51 | obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o |
| 52 | obj-$(CONFIG_MICREL_PHY) += micrel.o |
| 53 | -- |
| 54 | 2.34.1 |
| 55 | |