]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 2 Sep 2025 15:40:52 +0000 (17:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Sep 2025 22:19:32 +0000 (15:19 -0700)
STMMAC on SoCFPGA uses exactly one interrupt in in-kernel DTS and common
snps,dwmac.yaml binding is flexible, so define precise constraint for
this device.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Matthew Gerlach <matthew.gerlach@altera.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250902154051.263156-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml

index 3a22d35db7784178ecc9cef835bff78f81b8f08b..fc445ad5a1f1ac490e921696d6f7ca83d15de459 100644 (file)
@@ -62,6 +62,13 @@ properties:
       - const: stmmaceth
       - const: ptp_ref
 
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    items:
+      - const: macirq
+
   iommus:
     minItems: 1
     maxItems: 2