]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: mtk-2p5ge: Add LED support for MT7988
authorSky Huang <skylake.huang@mediatek.com>
Wed, 27 Aug 2025 04:47:55 +0000 (12:47 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 23:43:21 +0000 (16:43 -0700)
commit5e3aae2d3271cf5fd3e37683ff1392dd7bed5389
tree8e64dfdd5ee821770fb4d0c84b0c65f5795706b4
parentc158b5a570a188b990ef10ded172b8b93e737826
net: phy: mtk-2p5ge: Add LED support for MT7988

Add LED support for MT7988's built-in 2.5Gphy. LED hardware has almost
the same design with MT7981's/MT7988's built-in GbE. So hook the same
helper function here.

Before mtk_phy_leds_state_init(), set correct default values of LED0
and LED1.

Signed-off-by: Sky Huang <skylake.huang@mediatek.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250827044755.3256991-1-SkyLake.Huang@mediatek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mediatek/mtk-2p5ge.c