blob: b750c57c30e37211e2e74552e4ee41f879660b34 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From d3e70b511ec583b7cced3ffd3c34700084c9149d Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:31 +0800
4Subject: [PATCH] [networking][999-2717-add-mediatek-2p5ge-phy-support.patch]
5
6---
7 drivers/net/phy/Kconfig | 5 +++++
8 drivers/net/phy/Makefile | 1 +
9 2 files changed, 6 insertions(+)
10
11diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
12index 87eaaad76..45aaf7203 100644
13--- a/drivers/net/phy/Kconfig
14+++ b/drivers/net/phy/Kconfig
15@@ -539,6 +539,11 @@ config MEDIATEK_GE_SOC_PHY
16 present in the SoCs efuse and will dynamically calibrate VCM
17 (common-mode voltage) during startup.
18
19+config MEDIATEK_2P5GE_PHY
20+ tristate "MediaTek 2.5Gb Ethernet PHYs"
21+ ---help---
22+ Supports MediaTek internal 2.5Gb Ethernet PHYs.
23+
24 config MICREL_PHY
25 tristate "Micrel PHYs"
26 ---help---
27diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
28index 801550726..998de790e 100644
29--- a/drivers/net/phy/Makefile
30+++ b/drivers/net/phy/Makefile
31@@ -98,6 +98,7 @@ obj-$(CONFIG_MARVELL_PHY) += marvell.o
32 obj-$(CONFIG_MARVELL_10G_PHY) += marvell10g.o
33 obj-$(CONFIG_MEDIATEK_GE_PHY) += mediatek-ge.o
34 obj-$(CONFIG_MEDIATEK_GE_SOC_PHY) += mediatek-ge-soc.o
35+obj-$(CONFIG_MEDIATEK_2P5GE_PHY)+= mediatek-2p5ge.o
36 obj-$(CONFIG_MESON_GXL_PHY) += meson-gxl.o
37 obj-$(CONFIG_MICREL_KS8995MA) += spi_ks8995.o
38 obj-$(CONFIG_MICREL_PHY) += micrel.o
39--
402.34.1
41