netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts
@ 2025-09-02  9:15 Krzysztof Kozlowski
  2025-09-02  9:15 ` [PATCH net-next 2/2] dt-bindings: net: renesas,rzn1-gmac: " Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  9:15 UTC (permalink / raw)
  To: Matthew Gerlach, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Romain Gantois,
	Geert Uytterhoeven, Magnus Damm, netdev, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel, linux-renesas-soc
  Cc: Krzysztof Kozlowski

STMMAC on SoCFPGA uses exactly one interrupt in in-kernel DTS and common
snps,dwmac.yaml binding is flexible, so define precise constrain for
this device.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/net/altr,socfpga-stmmac.yaml       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
index 3a22d35db778..fc445ad5a1f1 100644
--- a/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
+++ b/Documentation/devicetree/bindings/net/altr,socfpga-stmmac.yaml
@@ -62,6 +62,13 @@ properties:
       - const: stmmaceth
       - const: ptp_ref
 
+  interrupts:
+    maxItems: 1
+
+  interrupt-names:
+    items:
+      - const: macirq
+
   iommus:
     minItems: 1
     maxItems: 2
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH net-next 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts
  2025-09-02  9:15 [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts Krzysztof Kozlowski
@ 2025-09-02  9:15 ` Krzysztof Kozlowski
  2025-09-02 15:35   ` Lad, Prabhakar
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02  9:15 UTC (permalink / raw)
  To: Matthew Gerlach, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Romain Gantois,
	Geert Uytterhoeven, Magnus Damm, netdev, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel, linux-renesas-soc
  Cc: Krzysztof Kozlowski

Renesas RZN1 GMAC uses exactly one interrupt in in-kernel DTS and common
snps,dwmac.yaml binding is flexible, so define precise constrain for
this device.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/net/renesas,rzn1-gmac.yaml       | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml b/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml
index d9a8d586e260..16dd7a2631ab 100644
--- a/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml
@@ -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
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts
  2025-09-02  9:15 ` [PATCH net-next 2/2] dt-bindings: net: renesas,rzn1-gmac: " Krzysztof Kozlowski
@ 2025-09-02 15:35   ` Lad, Prabhakar
  2025-09-02 15:39     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Lad, Prabhakar @ 2025-09-02 15:35 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Matthew Gerlach, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Romain Gantois,
	Geert Uytterhoeven, Magnus Damm, netdev, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel, linux-renesas-soc

Hi Krzysztof,

Thank you for the patch.

On Tue, Sep 2, 2025 at 10:16 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> Renesas RZN1 GMAC uses exactly one interrupt in in-kernel DTS and common
commit message needs updating as we are describing 3 interrupts.

> snps,dwmac.yaml binding is flexible, so define precise constrain for
> this device.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/net/renesas,rzn1-gmac.yaml       | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml b/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml
> index d9a8d586e260..16dd7a2631ab 100644
> --- a/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml
> +++ b/Documentation/devicetree/bindings/net/renesas,rzn1-gmac.yaml
> @@ -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
> +

Changes LGTM,

Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Cheers,
Prabhakar

>    pcs-handle:
>      description:
>        phandle pointing to a PCS sub-node compatible with
> --
> 2.48.1
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next 2/2] dt-bindings: net: renesas,rzn1-gmac: Constrain interrupts
  2025-09-02 15:35   ` Lad, Prabhakar
@ 2025-09-02 15:39     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-02 15:39 UTC (permalink / raw)
  To: Lad, Prabhakar, Krzysztof Kozlowski
  Cc: Matthew Gerlach, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue, Romain Gantois,
	Geert Uytterhoeven, Magnus Damm, netdev, devicetree, linux-stm32,
	linux-arm-kernel, linux-kernel, linux-renesas-soc

On 02/09/2025 17:35, Lad, Prabhakar wrote:
> Hi Krzysztof,
> 
> Thank you for the patch.
> 
> On Tue, Sep 2, 2025 at 10:16 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
>>
>> Renesas RZN1 GMAC uses exactly one interrupt in in-kernel DTS and common
> commit message needs updating as we are describing 3 interrupts.

Indeed, thanks.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-09-02 15:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02  9:15 [PATCH net-next 1/2] dt-bindings: net: altr,socfpga-stmmac: Constrain interrupts Krzysztof Kozlowski
2025-09-02  9:15 ` [PATCH net-next 2/2] dt-bindings: net: renesas,rzn1-gmac: " Krzysztof Kozlowski
2025-09-02 15:35   ` Lad, Prabhakar
2025-09-02 15:39     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).