Skip to contentSkip to conversation

dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts

PATCH Applied Krzysztof Kozlowski 7 participants 9 messages Sep 2, 2025 – Sep 3, 2025

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts

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.

---

Changes in v2:
1. Minor typo in commit msg.

---
 .../devicetree/bindings/net/altr,socfpga-stmmac.yaml       | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml +7 -0
index 3a22d35db778..fc445ad5a1f1 100644
@@ -62,6 +62,13 @@ properties:
       - const: stmmaceth
       - const: ptp_ref
 
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    items:
+      - const: macirq
+
   iommus:
     minItems: 1
     maxItems: 2
Signature · 1 line
2.48.1
#1 lore raw

PATCH v2 2/2 dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts

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.

---

Changes in v2:
1. Minor typo in commit msg.
2. one->three interrupts in commit msg
3. Rb tag

---
 .../devicetree/bindings/net/renesas,rzn1-gmac.yaml       | 9 +++++++++
 1 file changed, 9 insertions(+)
Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml +9 -0
index d9a8d586e260..16dd7a2631ab 100644
@@ -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
Signature · 1 line
2.48.1
maintainer Reviewed-by on v2 2/2
#2 lore raw

Re: [PATCH v2 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts

Hi Krzysztof,

Quoted 28 lines · On Tuesday, 2 September 2025 17:40:53 CEST Krzysztof Kozlowski wrote:

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.

---

Changes in v2:
1. Minor typo in commit msg.
2. one->three interrupts in commit msg
3. Rb tag

---
 .../devicetree/bindings/net/renesas,rzn1-gmac.yaml       | 9 +++++++++
 1 file changed, 9 insertions(+)
(quoted diff) +0 -0

b/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml index d9a8d586e260..16dd7a2631ab 100644

Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml +2 -0
@@ -30,6 +30,15 @@ properties:
       - const: renesas,rzn1-gmac
       - const: snps,dwmac
 
+  interrupts:
+    maxItems: 3

Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml properties: · line 44

Quoted 10 lines
Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml +7 -0
+
+  interrupt-names:
+    items:
+      - const: macirq
+      - const: eth_wake_irq
+      - const: eth_lpi
+
   pcs-handle:
     description:
       phandle pointing to a PCS sub-node compatible with

LGTM.

Reviewed-by on v2 2/2
#3 lore raw

Re: [PATCH v2 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts

In reply to Krzysztof Kozlowski
Quoted 6 lines · Krzysztof Kozlowski

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.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Reviewed-by on v2 2/2
#4 lore raw

Re: [PATCH v2 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts

In reply to Krzysztof Kozlowski
Quoted 6 lines · Krzysztof Kozlowski

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.

Double checked with the original RZ/N1 docs:

maintainer Acked-by on v2 2/2
#5 lore raw

Re: [PATCH v2 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts

In reply to Krzysztof Kozlowski
Quoted 9 lines · Krzysztof Kozlowski

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.

---

Quoted 8 lines

Changes in v2:
1. Minor typo in commit msg.
2. one->three interrupts in commit msg
3. Rb tag

---
 .../devicetree/bindings/net/renesas,rzn1-gmac.yaml       | 9 +++++++++
 1 file changed, 9 insertions(+)
Acked-by on v2 1/2
#6 lore raw
In reply to Krzysztof Kozlowski
Quoted 5 lines · Krzysztof Kozlowski

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.

Quoted 27 lines

---

Changes in v2:
1. Minor typo in commit msg.

---
  .../devicetree/bindings/net/altr,socfpga-stmmac.yaml       | 7 +++++++
  1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml +7 -0
index 3a22d35db778..fc445ad5a1f1 100644
@@ -62,6 +62,13 @@ properties:
        - const: stmmaceth
        - const: ptp_ref
 
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    items:
+      - const: macirq
+
    iommus:
      minItems: 1
      maxItems: 2
maintainer Acked-by on v2 1/2
#7 lore raw
In reply to Krzysztof Kozlowski
Quoted 6 lines · Krzysztof Kozlowski

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.

Quoted 8 lines

---

Changes in v2:
1. Minor typo in commit msg.

---
 .../devicetree/bindings/net/altr,socfpga-stmmac.yaml       | 7 +++++++
 1 file changed, 7 insertions(+)
#8 lore raw
In reply to Krzysztof Kozlowski
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Tue, 2 Sep 2025 17:40:52 +0200 you wrote:

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.

[...]

Here is the summary with links:
- [v2,1/2] dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts

    https://git.kernel.org/netdev/net-next/c/f672fcd8e6c4
  - [v2,2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts
    https://git.kernel.org/netdev/net-next/c/69cd99350740

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html