]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 2 Sep 2025 15:40:53 +0000 (17:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Sep 2025 22:19:32 +0000 (15:19 -0700)
Renesas RZN1 GMAC uses three interrupts in in-kernel DTS and common
snps,dwmac.yaml binding is flexible, so define precise constraint for
this device.

Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250902154051.263156-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml

index d9a8d586e260c2c56b3949b5c4b79a3ef140d158..16dd7a2631abf6fb7dc8e0c90755ab1e81915b38 100644 (file)
@@ -30,6 +30,15 @@ properties:
       - const: renesas,rzn1-gmac
       - const: snps,dwmac
 
+  interrupts:
+    maxItems: 3
+
+  interrupt-names:
+    items:
+      - const: macirq
+      - const: eth_wake_irq
+      - const: eth_lpi
+
   pcs-handle:
     description:
       phandle pointing to a PCS sub-node compatible with