mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 21:58:06 +04:00
The EcoNet EN7528 embeds four Gigabit Ethernet PHYs (PHY ID 0x03a29491) behind its built-in MT7530 switch. Without a driver of their own they fall back to the generic PHY driver, which cannot drive the LED pins of the PHYs. Backport the upstream driver support and enable MEDIATEK_GE_SOC_PHY. The PHYs use the same LED register layout as the other SoC PHYs handled by that driver, but their LED controller powers up with its external control disabled, so the driver enables it from config_init. Backported from upstream commit https://github.com/torvalds/linux/commit/b6e2649fff15a17689851b30e5415a3aae2b516e Signed-off-by: Ahmed Naseef <naseefkm@gmail.com> Link: https://github.com/openwrt/openwrt/pull/25098 Signed-off-by: Robert Marko <robimarko@gmail.com>