🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1283

[PATCH net-next 20/37] dt-bindings: can: renesas,rcar-canfd: Restrict resets in top-level

#1283
From: Marc Kleine-Budde
Date: Fri, 09 Oct 2026 13:27
59 lines
9889 bytes
From: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Properties varying per variant of the device should still have the
broadest constraints set in the top level, so add such for the "resets".
Since top-level part says "reset-names" cannot accept one item, disallow
it for the two variants which do not use it in practice.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20261001060825.53335-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 .../devicetree/bindings/net/can/renesas,rcar-canfd.yaml   | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
index bbaaef8f4282..1a7a9ce45e97 100644
--- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
+++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
@@ -133,7 +133,9 @@ properties:
   power-domains:
     maxItems: 1
 
-  resets: true
+  resets:
+    minItems: 1
+    maxItems: 2
 
   reset-names:
     items:
@@ -209,7 +211,6 @@ allOf:
 
         resets:
           minItems: 2
-          maxItems: 2
 
   - if:
       properties:
@@ -231,6 +232,8 @@ allOf:
         resets:
           maxItems: 1
 
+        reset-names: false
+
   - if:
       properties:
         compatible:
@@ -246,7 +249,6 @@ allOf:
 
         resets:
           minItems: 2
-          maxItems: 2
 
   - if:
       properties:
-- 
2.53.0
Technical Details
Message-ID: <20261009134323.64064-21-mkl@pengutronix.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343713-linux-kernel-netdev=dewy.ru
References: <20261009134323.64064-1-mkl@pengutronix.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343713-linux-kernel-netdev=dewy.ru
From: mkl@pengutronix.de (Marc Kleine-Budde)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 20/37] dt-bindings: can: renesas,rcar-canfd: Restrict resets in top-level
Date: Fri,  9 Oct 2026 15:27:52 +0200
Organization: Usenet Network
Message-ID: <20261009134323.64064-21-mkl@pengutronix.de>
References: <20261009134323.64064-1-mkl@pengutronix.de>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1117341"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:LOc/7pA3Ut0WJGGiI5NQZkVcT6s= sha256:gg6d4fWagnM6FodLc4MRfnyAYxZp7h0XrHYT0XlzM+U=
	sha1:OeXKlPZFkSnHVJXaBval3Gd1nUc= sha256:l3GoosRoJmhKCx8aA2SSxysUizNql0BwKiOsEOBIzBw=
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 78EC010F6D2; Fri,  9 Oct 2026 16:49:15 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.75
X-Spam-Status: No, score=-0.75 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, 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=pengutronix.de
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 twbpkmogPuLr;
	Fri,  9 Oct 2026 16:49:11 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-343713-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=pengutronix.de
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 462A110F6C8; Fri,  9 Oct 2026 16:49:08 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 533E233E7D; Fri,  9 Oct 2026 13:44:32 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AEF74E533E;
	Fri,  9 Oct 2026 13:43:45 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=pengutronix.de header.i=@pengutronix.de header.b="doq/Tw7d"
X-Received: from mx1.white.stw.pengutronix.de (mx1.white.stw.pengutronix.de [185.203.200.13])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6609A4E4308;
	Fri,  9 Oct 2026 13:43:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.203.200.13
X-ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791553424; cv=pass; b=tyy1fqVYgFw94vYrV3u5vzGhesTmM/aYgpMYvTnuNilGHmR+5uy/84plw1jdV+8LxRi8UP5KVf6fJDZBc4b0U71auwUe23gQCUGuq5cQaL2qrmoTXnUrdze8TWhYP+oXcVYxgvuEXm650flr3MnM+wncHsnwP8KhHxgS013py04=
X-ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791553424; c=relaxed/simple;
	bh=cVv64f5BQoSA8JZMbM3oCGMWHhPHO6JQHImCr9SPqrs=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=QEcmxdjD7az0/M/DPzzFX48d8EAfdnM2qMcb4TzgLQA6lON8G5EjUOXVGJXfGhFVmWW9ZGnoHNdilsGFIUid7LfyfTfbZ0BKv42W3Hu0bZKnRw7QbkpQJdr0dObcurl1PsaW6nxcV7287d6CYX90AUYvQEabwldU6GbMdLdhVOs=
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; dkim=pass (2048-bit key) header.d=pengutronix.de header.i=@pengutronix.de header.b=doq/Tw7d; arc=pass smtp.client-ip=185.203.200.13
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de
X-Received: from drehscheibe.grey.stw.pengutronix.de (drehscheibe.grey.stw.pengutronix.de [IPv6:2a0a:edc0:0:c01:1d::a2])
	(Authenticated sender: relay-from-drehscheibe.grey.stw.pengutronix.de)
	by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 65FD320265B;
	Fri, 09 Oct 2026 15:43:37 +0200 (CEST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de;
	s=20260414; t=1791553417;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=/itt5lMWrTUK7wO99+ImVfO07iO2rvmAiQrDKdrH09Y=;
	b=doq/Tw7dgwhs0WnQFNnVN8jG+4mvkhFqiE0v8UYsXrs6zSD14gbpEi4AYlp/MbeCePk1+4
	mSBZ8cHWgqRiV1nDai/p93c0VoGwzmjXVyLnG0EI7ucCNAeuhxxj0l+HLHMntq8bZfRkYL
	Eoz4gGdMZaqlYjLYQTAFL7Z9nmMVu5JEs7WCyO+9tUX2cgZiAf7EgsrYBxg7MyIKqHqAIr
	n3c7cXTaZAnRutSFIPnp/cMZraMDNPHXVSNpX+qcgYsNzUTjInYGmC42oCraZwTzbO4hjb
	OD7Idft/o05X1CQVbYoR0+2oEdKI1HUj69aGlgRIW+0qY1xx25EG55ZPjQ8cyg==
X-ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1791553417; a=rsa-sha256;
	cv=none;
	b=T91bvkb+boO3YZeIhR+XL5bOAV5FkodewzWfh07SyslTxsjujkfh50nEDrzALyX0TCy4uV
	AW4zZUKjZAflVyQf+eR/YcUJhB4uV3BhUogZxKQPaXwdY67gz2Mp8dtfKx1hX15pcFl2CA
	2T52pJ2baBeM9Pxs5WvEUNIvFMg7kk7C8UHm9HSx7ZdU9P9a6FQYyUUg5evnwSCk/AbXER
	1jvtIVc+kxUQ8H1BUtJRIspW5oDA0ue5wLCLsckJoQyPXqF3ksOaTIURVZN9veolomagcc
	IUBFP+NlA8TEADBDsi//va2FH6I3qm75K2rvkebm2m9ID9w6bHS4Eo7eivGvPw==
X-ARC-Authentication-Results: i=1;
	ORIGINATING;
	auth=pass smtp.auth=relay-from-drehscheibe.grey.stw.pengutronix.de smtp.mailfrom=mkl@pengutronix.de
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de;
	s=20260414; t=1791553417;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=/itt5lMWrTUK7wO99+ImVfO07iO2rvmAiQrDKdrH09Y=;
	b=IDx9ta4wDqRr0v8jvWHF5cQMM+8Nir+0iD9Alc7l0F5s/VpQoVVA/9t/bsIKwIWiBkFnb9
	5navzEC24/02EiJ/cL+5Ex+DClivfEQdphPFnGcsBPeJQbTsmuVC96yjiUW/WueNmq688I
	6GUb2mRJxKmATCfXZTM0J3wFjaWaEBL4l+jIneknpklSG6LR6XCgNR52lqcflWqP+L5k9T
	Yp8MH6fHV8CA35L3OWvuHEOXmi0OYTDntlSiZzcYKZB0JUemQ8M3dVHdNPdjatvBXYWwmN
	A0qoxf2ffujvs5VGWwNpFyaFSY/EJWypl7QVnlqb7TFHOr72LQmctBRRqBHK6g==
X-Received: from moin.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::7b] helo=bjornoya.blackshift.org)
	by drehscheibe.grey.stw.pengutronix.de with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.96)
	(envelope-from <mkl@pengutronix.de>)
	id 1xFAsr-0053Sm-11;
	Fri, 09 Oct 2026 15:43:37 +0200
X-Received: from blackshift.org (90-182-211-1.rcp.o2.cz [90.182.211.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	(Authenticated sender: mkl-all@blackshift.org)
	by smtp.blackshift.org (Postfix) with ESMTPSA id DEFAD5BD8CC;
	Fri, 09 Oct 2026 13:43:36 +0000 (UTC)
X-Cc: davem@davemloft.net,
	kuba@kernel.org,
	linux-can@vger.kernel.org,
	kernel@pengutronix.de,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
	"Rob Herring (Arm)" <robh@kernel.org>,
	Biju Das <biju.das.jz@bp.renesas.com>,
	Marc Kleine-Budde <mkl@pengutronix.de>
X-Mailer: git-send-email 2.53.0
X-In-Reply-To: <20261009134323.64064-1-mkl@pengutronix.de>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>