openwrt/target/linux/mediatek
Chukun Pan b5195cd473
Some checks failed
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
mediatek: fix 2.5G PHY LED polarity for MT7987
The patch that adds MT7987 support to the mtk-2p5ge
driver does the following:

case MTK_2P5GPHY_ID_MT7987:
	phy_clear_bits_mmd MTK_PHY_LED_ON_POLARITY
case MTK_2P5GPHY_ID_MT7988:
	phy_set_bits_mmd.. MTK_PHY_LED_ON_POLARITY

phy_set_bits_mmd... MTK_PHY_LED_ON_POLARITY | xxx

This clearly resulted in the LED polarity of the 2.5G PHY
on the MT7987 being reversed. Remove redundant MMD operations
to fix the 2.5G PHY LED error on Bananapi BPi-R4 Lite.

Fixes: d62fc50f ("mediatek: import patches from SDK to support MT7987 Ethernet")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2026-01-09 12:59:54 +00:00
..
base-files mediatek: fix IPv4 address missing on interface in failsafe mode for cudy ap3000-v1 2025-12-16 00:17:32 +01:00
dts mediatek: add support for device zbt-z8103ax-c 2026-01-03 00:58:39 +01:00
files/drivers treewide: replace remove_new with remove 2026-01-03 17:27:25 +01:00
files-6.12 treewide: dts: remove {#address,#size}-cells from "spi-nand" compatible node 2025-11-27 12:37:49 +01:00
filogic mediatek: add support for device zbt-z8103ax-c 2026-01-03 00:58:39 +01:00
image mediatek: remove erroneous pipe action from BE7200 recipe 2026-01-03 12:38:10 +01:00
mt7622 mediatek: add support for Elecom WRC-G01 2025-12-26 20:07:31 +01:00
mt7623 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7629 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
patches-6.12 mediatek: fix 2.5G PHY LED polarity for MT7987 2026-01-09 12:59:54 +00:00
Makefile mediatek: switch to Linux 6.12 by default 2025-07-18 12:26:40 +01:00
modules.mk mediatek: build rtl8367s_gsw as a kernel module 2025-11-30 22:59:28 +01:00