aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7623
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/mediatek/mt7623
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/mediatek/mt7623')
-rw-r--r--target/linux/mediatek/mt7623/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mediatek/mt7623/config-5.10 b/target/linux/mediatek/mt7623/config-5.10
index 09ecc16ef2..142ffd7998 100644
--- a/target/linux/mediatek/mt7623/config-5.10
+++ b/target/linux/mediatek/mt7623/config-5.10
@@ -368,6 +368,7 @@ CONFIG_MDIO_BUS=y
CONFIG_MDIO_DEVICE=y
CONFIG_MDIO_DEVRES=y
CONFIG_MDIO_GPIO=y
+CONFIG_MEDIATEK_GE_PHY=y
CONFIG_MEDIATEK_MT6577_AUXADC=y
CONFIG_MEDIATEK_WATCHDOG=y
CONFIG_MEMFD_CREATE=y