πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21477

Re: [PATCH net-next v5 07/24] dt-bindings: net: dsa: renesas,rzn1-a5psw: Add RZ/T2H and RZ/N2H ETHSW support

#21477
From: netdev-bot+sashiko
Date: Tue, 24 Nov 2026 02:26
74 lines
10817 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] This patch adds `interrupts` and `interrupt-names` to the top-
  level `required:` list in…

--

dt-bindings: net: dsa: renesas,rzn1-a5psw: Add RZ/T2H and RZ/N2H ETHSW support

This patch extends the A5PSW DSA binding to cover the ETHSW variant found
on the Renesas RZ/T2H and RZ/N2H SoCs. It adds dedicated compatible
strings, with RZ/T2H used as the fallback for RZ/N2H, plus per-variant
constraints on interrupts, clocks, resets and port numbers. It also adds
a co-maintainer.

> diff --git a/Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml b/Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml
> index 30f25b06d62c4..c087291361760 100644
> --- a/Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml
> +++ b/Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml

[ ... ]

> @@ -86,6 +158,46 @@ required:
>    - clock-names
>    - power-domains
>    - ethernet-ports
> +  - interrupts
> +  - interrupt-names

[Severity: Low]
Should this change to RZ/N1 be mentioned in the commit message?

interrupts and interrupt-names are added to the top-level required list,
not to the RZ/T2H then: block. That makes them mandatory for the existing
renesas,r9a06g032-a5psw / renesas,rzn1-a5psw compatibles too.

The commit message only talks about adding the ETHSW compatibles, the
RZ/N2H fallback and the co-maintainer entry. It does not say that the
RZ/N1 schema gets stricter.

drivers/net/dsa/rzn1_a5psw.c does not request any IRQ, so no driver
depends on this. The in-tree r9a06g032.dtsi already has all five
interrupts and their names, so in-tree dtbs_check still passes. An RZ/N1
DT without these properties used to validate, but it would fail now.

Could these two entries go into the RZ/T2H then: required: list next to
resets? Or, if requiring them on RZ/N1 is intended, could the commit
message say so, or could it be split into its own patch?

> +
> +allOf:
> +  - $ref: dsa.yaml#/$defs/ethernet-ports
> +
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: renesas,r9a09g077-ethsw
> +    then:

[ ... ]

> +      required:
> +        - resets

[ ... ]

-- 
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261120002549.1908299-1-prabhakar.mahadev-lad.rj%40bp.renesas.com
Technical Details
Message-ID: <179548718283.3135.16421455472482043498@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369963-linux-kernel-netdev=dewy.ru
References: <20261120002549.1908299-8-prabhakar.mahadev-lad.rj@bp.renesas.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369963-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 07/24] dt-bindings: net: dsa:
 renesas,rzn1-a5psw: Add RZ/T2H and RZ/N2H ETHSW support
Date: Tue, 24 Nov 2026 02:26:22 +0000
Organization: Usenet Network
Message-ID: <179548718283.3135.16421455472482043498@kernel.org>
References: <20261120002549.1908299-8-prabhakar.mahadev-lad.rj@bp.renesas.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4034306"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5JLxW6HhqvI1ki3RzUtNMVDqEDA= sha256:zZIlDxXCa7eLywTYqzKzcajXJwtJe0abCz6YGfbB10E=
	sha1:VCvnXlLBPF8WMst8Kw6mLQ6LwXk= sha256:39bjkLk9fUIFOcD4PDL6C8HgQWknQMfeQKkOrB/J9jo=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id CA1DF125DCE; Tue, 24 Nov 2026 05:26:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.4
X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Tp7UYvsAb4z0;
	Tue, 24 Nov 2026 05:26:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-369963-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 05C4D125DCB; Tue, 24 Nov 2026 05:26:28 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 239B026E62; Tue, 24 Nov 2026 02:26:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795487185;
	b=Lbd4TwBGvyQQ0sYWKqPfHKu9BjSZ0QmFKAk1fXD3OctQHYUgY3pkwsq6NcAbWvYAvgEa
	 SQ+CRVMs2OnjP8VLu/zB0cyyYl/811bxfEjBIOFk/cTmgxMC6d79M6SXPMPWCxYkIczoA
	 NDCsm8jn2pPkV/cENXj61leWu+EjmDWf81lqDIjb7xh4aJ8pfFPoqGt4d8CGV3AbLfb1s
	 NQmxeyBlGHBujX7gL23cElcEP6M64rmKb5Pwq+NtjdrLLCLqVJc/IfeZIUqk/AffpArtp
	 /vVBMxm5wBFbK6hylD0JHMddTvrrrEqNm5HGj/+p+VUotVeExbhgTV4YCR4al0cqrSQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795487185;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=dkKUxZiILvLL+d+t8iprkOu9f16cw3LDGzCnoisw70w=;
	b=zNIujAfvT3PxRG33JuU1FyS7YQAVraJ96ebc/WyiwG86bb2i7EDP/X19Sb2L8gnkgkHc
	 HVhsWHLIMNlHXyZ/TH8mwMWaMpGNDjbGkiiQNA35efk8KDMr3hL9VzaguIhJtbZSVYK+s
	 JaNfOeeu05Dhnyz6i+PJsAy+n08cmhJIhR7BuVk79s2gt7gCSOjOHvIeYkXDtU0ooa8Tm
	 Ii4JjBpRT4zNW7RiqpW/GvDxtg99HZONzGwOq0WwG5+mOUlLhjjBDKn04YFvsVzCiCCqc
	 78nkWF0980BIMZm1MNeys9PtMEjo7LvgO6m1kT+w5kbDpPH6+qBnynkf02rcQzKzFkg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=P+iuh2KX;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B6DB5606A33B;
	Tue, 24 Nov 2026 02:26:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=P+iuh2KX
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795487184;
	b=gZIWw5oItU1AqK3MXA66E49FlbEyt+ndHk+GuiKdB/MDLxZJdlzApnFHrvvaAgX5HmJs
	 0iFi7Bt7JttFPPIL+PMKapYPLxGNJw+DOZyxVcW3mddg9PQhwyNRdQzcHNPZhUVHn6ksN
	 FiS+V/tGUQuLDscc+vWjzhGKpdhyKNRLn50XOmBZUkiEhiJlNiClsYhJoo5NvRyBrnNZp
	 dnFxcU5HvDV3SmaF3uXqcyE4RDiQeETO7QyMCumkgs3Mk8q2f9h6sBUoHxeqg1Ut6NW+P
	 o+N1poICQk07LCi460fuQc650OteKBC4x4e85+NL1VDTQyRElVO0V7VKpy2uxe1kKpQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795487184;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=dkKUxZiILvLL+d+t8iprkOu9f16cw3LDGzCnoisw70w=;
	b=x4wS2O1EdI7xv/oL9UpbYe25+cSgWWhbwJjxS3h2CBm8Y7xP+sSczasPwG85cKA2WdhS
	 jig3RnGIh2qWLv9VrrvdNAp45NF8jwONJBJ24EZCcLr1oj4sZwVRSrhXh61/+gr84h+Kp
	 vLlyAbXO2q54EmBjaCkXO6l6macM/OTEYe9Pb+orDkUA2xcrZ4LQYtYr0tOYmdETJP1Cp
	 ZTbR7TCJa71OZ4hhchu3qeBJvoWqr0yFwXBVbwpn3PS941etLAihyI3eIfdRXEMLGtak/
	 3O076g4HzIWuGuUd+AZ4y2RfM0b64hosTkRd5gFbNl6VhBoyF+Ce1RNP3KztLyPGJ1A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=P+iuh2KX;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4522606A32C;
	Tue, 24 Nov 2026 02:26:24 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D67F1F000C6;
	Tue, 24 Nov 2026 02:26:23 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795487184;
	bh=dkKUxZiILvLL+d+t8iprkOu9f16cw3LDGzCnoisw70w=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=P+iuh2KX6oubpuQ8lzvmYXA4cSD/7bQTyZ8p/G9CfUnxoH54jSogQTt/s/rJvT3Xb
	 9G821UakFqLms36i5B01g/fkIS2Kv3unI6HQth8k2zUX6DZin9eDSxYnHphhApwyCX
	 MG80MqxgnDgn79AYBz9aTh++IwhrYSSGE7s+ZQjeq31OXCHRIpGS7L3Am0I3A+AEDj
	 ZZ4x0G2B2pEQ6Mip8brEvhqBe7BYhDcAsbMRofrg5OoVtpY/BNFcMKsqNrigcZufS+
	 TKctFCypSzAW+uUY27lOwU0lF398hpkvDY9rnyZhJuKnkkBskHjKsT6Vn8vukb0W4x
	 23AvTo4fOAAQA==
X-Cc: clement.leger@linux.dev, andrew@lunn.ch, olteanv@gmail.com,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
 hkallweit1@gmail.com, linux@armlinux.org.uk, horms@kernel.org,
 p.zabel@pengutronix.de, geert+renesas@glider.be, magnus.damm@gmail.com,
 f.fainelli@gmail.com, ralph.siemsen@linaro.org,
 linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org,
 devicetree@vger.kernel.org, prabhakar.csengg+renesas@gmail.com,
 biju.das.jz@bp.renesas.com, fabrizio.castro.jz@renesas.com,
 prabhakar.mahadev-lad.rj@bp.renesas.com
X-In-Reply-To: <20261120002549.1908299-8-prabhakar.mahadev-lad.rj@bp.renesas.com>
X-sashiko-severity: Low
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list