]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dsa: mt7530: Utilize REGMAP_IRQ for interrupt handling
authorDaniel Golle <daniel@makrotopia.org>
Sat, 1 Mar 2025 01:41:18 +0000 (01:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Mar 2025 01:14:23 +0000 (17:14 -0800)
commit254f6b272e3b67bf31c42ee9da62a449d74d1478
tree597c08d503d2ac72b47105c3e491572c860cde26
parent95d0d094ba26432ec467e2260f4bf553053f1f8f
dsa: mt7530: Utilize REGMAP_IRQ for interrupt handling

Replace the custom IRQ chip handler and mask/unmask functions with
REGMAP_IRQ. This significantly simplifies the code and allows for the
removal of almost all interrupt-related functions from mt7530.c.

Tested on MT7988A built-in switch (MMIO) as well as MT7531AE IC (MDIO).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Chester A. Unal <chester.a.unal@arinc9.com>
Link: https://patch.msgid.link/221013c3530b61504599e285c341a993f6188f00.1740792674.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/Kconfig
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h