Skip to contentSkip to conversation

net: phy: mediatek: enable interrupts on AN7581

PATCH Applied Aleksander Jan Bajkowski 3 participants 3 messages Jan 2 – Jan 6

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: phy: mediatek: enable interrupts on AN7581

Interrupts work just like on MT7988.

---
 drivers/net/phy/mediatek/mtk-ge-soc.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/phy/mediatek/mtk-ge-soc.c +2 -0
index 2c4bbc236202..9a54949644d5 100644
@@ -1508,6 +1508,8 @@ static struct phy_driver mtk_socphy_driver[] = {
 	{
 		PHY_ID_MATCH_EXACT(MTK_GPHY_ID_AN7581),
 		.name		= "Airoha AN7581 PHY",
+		.config_intr	= genphy_no_config_intr,
+		.handle_interrupt = genphy_handle_interrupt_no_ack,
 		.probe		= an7581_phy_probe,
 		.led_blink_set	= mt798x_phy_led_blink_set,
 		.led_brightness_set = mt798x_phy_led_brightness_set,
Signature · 1 line
2.47.3
#2 lore raw
In reply to Aleksander Jan Bajkowski
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 7 lines · On Fri, 2 Jan 2026 12:30:06 +0100 you wrote:

Interrupts work just like on MT7988.

---
 drivers/net/phy/mediatek/mtk-ge-soc.c | 2 ++
 1 file changed, 2 insertions(+)

Here is the summary with links:
- [net-next] net: phy: mediatek: enable interrupts on AN7581

    https://git.kernel.org/netdev/net-next/c/2e229771543b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html