aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorDENG Qingfang <dqfext@gmail.com>2022-02-03 20:07:04 +0800
committerDaniel Golle <daniel@makrotopia.org>2022-02-09 21:17:54 +0000
commit73fd9f79ced3e50ddf34e50d5bfaf2dc65767188 (patch)
treeadbe11c858a5c9effc600ff1608eac8bd91507d9 /target/linux/ramips
parent64125ed1d0067f0648f2669b29b59a77ece3bf10 (diff)
downloadupstream-73fd9f79ced3e50ddf34e50d5bfaf2dc65767188.tar.gz
upstream-73fd9f79ced3e50ddf34e50d5bfaf2dc65767188.tar.bz2
upstream-73fd9f79ced3e50ddf34e50d5bfaf2dc65767188.zip
kernel: backport MediaTek Ethernet PHY driver
Add support for MediaTek Gigabit Ethernet PHYs found in MT7530 and MT7531. Fix some link up/down issues. The errornous check for the PHY mode which broke things with MT7531 has been removed as suggested by patch net: phy: mediatek: remove PHY mode check on MT7531 As a result, things are working fine now on MT7622+MT7531 as well. Signed-off-by: DENG Qingfang <dqfext@gmail.com> Tested-by: Daniel Golle <daniel@makrotopia.org> Tested-by: Arınç ÜNAL <arinc.unal@arinc9.com> Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/mt7621/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/config-5.10 b/target/linux/ramips/mt7621/config-5.10
index 8a5e778e7e..fb56bd142a 100644
--- a/target/linux/ramips/mt7621/config-5.10
+++ b/target/linux/ramips/mt7621/config-5.10
@@ -114,6 +114,7 @@ CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_MDIO_BUS=y
CONFIG_MDIO_DEVICE=y
+CONFIG_MEDIATEK_GE_PHY=y
CONFIG_MEMFD_CREATE=y
CONFIG_MFD_SYSCON=y
CONFIG_MIGRATION=y