]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: net: mediatek,net: allow irq names
authorFrank Wunderlich <frank-w@public-files.de>
Wed, 9 Jul 2025 11:09:39 +0000 (13:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 22:04:10 +0000 (15:04 -0700)
commit23ac2a71bdbd5d12616d46f276b7a7a06e74a8c3
treecabe8ba6b7c3ada10d26bce5f35d1fb658fa2be9
parent356dea0baf4c0903ac188bf18e8ff1af0866c930
dt-bindings: net: mediatek,net: allow irq names

In preparation for MT7988 and RSS/LRO allow the interrupt-names
property.
In this way driver can request the interrupts by name which is much
more readable in the driver code and SoC's dtsi than relying on a
specific order.

Frame-engine-IRQs (fe0..3):
MT7621, MT7628: 1 FE-IRQ
MT7622, MT7623: 3 FE-IRQs (only two used by the driver for now)
MT7981, MT7986: 4 FE-IRQs (only two used by the driver for now)

RSS/LRO IRQs (pdma0..3) additional only on Filogic (MT798x) with
count of 4. So all IRQ-names (8) for Filogic.

Set boundaries for all compatibles same as irq count.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250709111147.11843-4-linux@fw-web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/mediatek,net.yaml