Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Frank Wunderlich and committed by
Jakub Kicinski
23ac2a71 356dea0b

+36
+36
Documentation/devicetree/bindings/net/mediatek,net.yaml
··· 42 42 minItems: 1 43 43 maxItems: 8 44 44 45 + interrupt-names: 46 + minItems: 1 47 + items: 48 + - const: fe0 49 + - const: fe1 50 + - const: fe2 51 + - const: fe3 52 + - const: pdma0 53 + - const: pdma1 54 + - const: pdma2 55 + - const: pdma3 56 + 45 57 power-domains: 46 58 maxItems: 1 47 59 ··· 147 135 minItems: 3 148 136 maxItems: 3 149 137 138 + interrupt-names: 139 + minItems: 3 140 + maxItems: 3 141 + 150 142 clocks: 151 143 minItems: 4 152 144 maxItems: 4 ··· 182 166 interrupts: 183 167 maxItems: 1 184 168 169 + interrupt-names: 170 + maxItems: 1 171 + 185 172 clocks: 186 173 minItems: 2 187 174 maxItems: 2 ··· 208 189 then: 209 190 properties: 210 191 interrupts: 192 + minItems: 3 193 + maxItems: 3 194 + 195 + interrupt-names: 211 196 minItems: 3 212 197 maxItems: 3 213 198 ··· 252 229 then: 253 230 properties: 254 231 interrupts: 232 + minItems: 3 233 + maxItems: 3 234 + 235 + interrupt-names: 255 236 minItems: 3 256 237 maxItems: 3 257 238 ··· 301 274 interrupts: 302 275 minItems: 8 303 276 277 + interrupt-names: 278 + minItems: 8 279 + 304 280 clocks: 305 281 minItems: 15 306 282 maxItems: 15 ··· 342 312 interrupts: 343 313 minItems: 8 344 314 315 + interrupt-names: 316 + minItems: 8 317 + 345 318 clocks: 346 319 minItems: 15 347 320 maxItems: 15 ··· 381 348 then: 382 349 properties: 383 350 interrupts: 351 + minItems: 8 352 + 353 + interrupt-names: 384 354 minItems: 8 385 355 386 356 clocks: