Article View: linux.kernel.netdev
Article #14534Re: [PATCH net-next 08/12] dt-bindings: can: renesas,rcar-canfd: Restrict resets in top-level
From: netdev-bot+sashiko
Date: Wed, 11 Nov 2026 12:20
Date: Wed, 11 Nov 2026 12:20
74 lines
10109 bytes
10109 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] In Documentation/devicetree/bindings/net/can/renesas,rcar-
canfd.yaml, this patch adds `reset-names: false` (line 235) to theβ¦
--
dt-bindings: can: renesas,rcar-canfd: Restrict resets in top-level
This commit moves the broadest constraint for resets (minItems 1,
maxItems 2) to the top level and drops the per-variant maxItems 2. It
also adds reset-names: false for the rcar-gen3-canfd and rcar-gen4-canfd
variants.
Link: https://patch.msgid.link/20261001060825.53335-2-krzysztof.kozlowski@oss.qualcomm.com
> diff --git a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
> index bbaaef8f4282e..1a7a9ce45e977 100644
> --- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
> +++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
[ ... ]
> @@ -231,6 +232,8 @@ allOf:
> resets:
> maxItems: 1
>
> + reset-names: false
> +
[Severity: Low]
This isn't a bug, but isn't this rule already in the binding?
Further down in the same allOf list there is a separate block for the
same two compatibles. It already disallows reset-names:
- if:
properties:
compatible:
contains:
enum:
- renesas,rcar-gen3-canfd
- renesas,rcar-gen4-canfd
then:
required:
- resets
properties:
reset-names: false
So the new line duplicates that rule, and validation results for gen3
and gen4 device trees are the same before and after this hunk.
The commit message says:
Since top-level part says "reset-names" cannot accept one item, disallow
it for the two variants which do not use it in practice.
That reads as if this patch adds a new restriction. Could the extra line
be dropped, or the two gen3/gen4 blocks be merged into one, and the
commit message updated to match?
> - if:
> properties:
> compatible:
[ ... ]
--
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261110115112.3807247-2-mkl%40pengutronix.de
Technical Details
Message-ID:
<179439962217.2199510.18202330076530254925@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361054-linux-kernel-netdev=dewy.ruReferences:
<20261110115112.3807247-9-mkl@pengutronix.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361054-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 08/12] dt-bindings: can: renesas,rcar-canfd: Restrict resets in top-level Date: Wed, 11 Nov 2026 12:20:22 +0000 Organization: Usenet Network Message-ID: <179439962217.2199510.18202330076530254925@kernel.org> References: <20261110115112.3807247-9-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="849341"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:cX7WZzj/oSCH39ExcHZNHE/Wm1E= sha256:wuU7yJzifpndXQ7bvCTWOk+L0Asq7RoRJkgyAAcO/8I= sha1:PFahVWvKaqD05/YyFORRgyIwWoc= sha256:mRCjTfZVdS/NUZALUUM96cIBjneOK7UUHkouSm7Altc= 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 E098F113E95; Wed, 11 Nov 2026 15:27:58 +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 Y84zAAhdM8RL; Wed, 11 Nov 2026 15:27:55 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-361054-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 6429C113ED9; Wed, 11 Nov 2026 15:27:46 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id 4E7AC3CEEB; Wed, 11 Nov 2026 12:20:41 +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=1794399624; b=Q6ZLwQu6EXW4jM11Y3E8kI0hRYYqbfV5azOHO6Lp4KiFbT5cSSsrzJCOupOKaNrD5z57 zF4Xcrjss6ZdCFIfZynENPwfNLBYkzTPMggrrOKhQ1nLsDOO/aE1+jCmKAjKBziI0QwFc qyJsSnOVFHxjKUchBznv9NdhcJT1gMLXdl0PCiaVGlpeI38wdqMs2YYJrqdymO2MgPW/e 9BGE4PFkfMWbErBSmPP4ATRgmepcHRK9pgyYoyKY35bnC6+kXxOKLRS54O9mISI+IpXYs S9JtB8G1p5WA0sDbzn95zMhJ8u+bzCYvbLv3GHYc5VJZ8wQUcqh4O0+pzBgFsQamfgg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794399624; 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=uvTO/BGLZIZbUjQrcyChcQsusy9kc1T9we0lQKGwQ98=; b=iiQcxfNtdaX/MAJLCLlXEKojJh2xpgMMqhg+4/hS9S9Rg8LVisj51ORBb4nu3NOmXtA6 owKneB/Mr4nQg7nO6Dv/j/4TSoEdkMsvtfTCR0UJhBc3Y88jnmUyz4UJYPta9n5piXXFd k6P2M3pq1xDjpCMIHOjr8Hvvu7YgpD9VUI8i/Y14zW8B0zMs1nUPZ7TThouLPB4TGk7VX CkZ+XVuz+Hd6zdJEvz4AFBpb8d1trGXclI7TVkqy9oscho1UN+nZ158JU7aHETtuyTJdT KoLa0tDLm5wz9wkbCZqhBXnWFze6yCjeB+etSzE3+f4g0OlZMsmHRmY+oAV00v3myiw== 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=RYMtDnvp; 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 04790606A33D; Wed, 11 Nov 2026 12:20:24 +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=RYMtDnvp 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=1794399623; b=OWsSX1NN7jdbSuLfk9z2owcbXLfdz7rt2rCJaeJyaat02j2OECuFbKdKAc+UOWzwBwNZ b8o9W2KZayTh+MsMShVis0OpZGem2YXhA9p8G1FQ7qlDF6gpViSqY12HaMFk1kfBXLQzP p6s9Q4vSaGGY2fmongUKExTSn8NOGG7/qQRWOVenaKCrQss+ofyHRPK+/ak4HOdWUv+yg XuddOmBRQlWAdF7URHQpt0Dw6ZLrQJrp9e++KkEqC899u+puOzHRAPbVMecgDdHmZzNqB 4IdRdKR1BK93XpJ8Li1sqTPXz7jaKYVzcmQ26I0Rc/lvRbjrD7cHDDjm3SF9SuxVNyQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794399623; 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=uvTO/BGLZIZbUjQrcyChcQsusy9kc1T9we0lQKGwQ98=; b=b99hmh01+Rwj2Bu1/8uvjVkX1en6J7FzHkzPgrBuw19hu2bQGcaokRkjAJKX6mEJ021Z C+nqPRNgjW3aalLOSCv+3D+AnjEDx44/TG5tgugcYRX3Qfq58uoSprBWX6xDHxaY0jcBp Q/FSW1TYytSiRuuIVl/ambWV+iS9JIL+fy94aghYMJaqgAXs13T2chzRHqBNkBnO7jC5e 5SEWUtRcThl9B+tL6gtKdzhwTwe0fF2onDy6MQWHSyonURg0qz2OGWI+ZAKzTBo/Nrgqw UK17w2TqcY6meaJqI79o49BwuUW8QhUNSql8dfNPNSJPqixh0xVYXMtMbNCqcrNivhg== 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=RYMtDnvp; 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 2034D606A88D; Wed, 11 Nov 2026 12:20:23 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 927291F00A0B; Wed, 11 Nov 2026 12:20:22 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794399623; bh=uvTO/BGLZIZbUjQrcyChcQsusy9kc1T9we0lQKGwQ98=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=RYMtDnvpFvdP8OHSwZT4k2fO/3Sdl9BTEHztLyPmnXJzUNYR9s1pe/uTTBlVnrxWr V/vd7r7NE/8cIidAps0UK1IcCBINa8vtd/8W6z6oj2c6sNWtYVdhl6/hymtsqMvNce oXynS/37XgRgbAyCNA1r24K14PXVZ87+w3iBWraGGfbcQ1S+zONpa+wK5wXTUzPsO/ i1ZEKjFzPCy0QOtbZPy5ZGaHFtuFN8fBjh5rUoGzKAp14TMtvdyBeOUzH8IZ6FFTw2 Nq5N68eDot7n7LOyn7832eXnUeYOjMeCfSvokmXfZNv5pKOqMDNp4QqnDvNmJf5yPd U3B4dYuyWRDyQ== X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, kernel@pengutronix.de, claudiu.beznea.uj@bp.renesas.com, geert+renesas@glider.be X-In-Reply-To: <20261110115112.3807247-9-mkl@pengutronix.de> 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