🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21240

[PATCH net-next 1/5] dt-bindings: reset: Add Cortina CS7542 network engine reset domain

#21240
From: Fil Dunsky via B4 Relay
Date: Mon, 23 Nov 2026 18:44
80 lines
13031 bytes
From: Fil Dunsky <filipp.dunsky@gmail.com>

Describe the atomic reset domain required to stop all network-engine and
LSO/SSP DMA users before releasing their mappings. Exclude the SDRAM
controller and independent PCIe resets. Allow this provider as a child
of the shared global syscon.

Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
---
 .../bindings/reset/cortina,cs7542-ne-reset.yaml    | 42 ++++++++++++++++++++++
 .../soc/cortina/cortina,cs7542-syscon.yaml         |  4 +++
 2 files changed, 46 insertions(+)

diff --git a/Documentation/devicetree/bindings/reset/cortina,cs7542-ne-reset.yaml b/Documentation/devicetree/bindings/reset/cortina,cs7542-ne-reset.yaml
new file mode 100644
index 000000000..8f5b5b835
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/cortina,cs7542-ne-reset.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reset/cortina,cs7542-ne-reset.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 network engine reset domain
+
+maintainers:
+  - Fil Dunsky <filipp.dunsky@gmail.com>
+
+description: |
+  Child of the CS7542 global syscon. One reset domain covers NI, FE, TM,
+  scheduler, queue manager, NI XRAM and the entire DMA block (LSO and SSP).
+  SDRAM and unrelated peripheral reset bits are not modified. The consumer
+  must own all these blocks exclusively. This reset is not suitable for a
+  network-only consumer while a separate driver uses SSP DMA.
+
+properties:
+  compatible:
+    const: cortina,cs7542-ne-reset
+
+  "#reset-cells":
+    const: 0
+
+required:
+  - compatible
+  - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    syscon@f0000000 {
+        compatible = "cortina,cs7542-syscon", "syscon", "simple-mfd";
+        reg = <0xf0000000 0x100>;
+        #clock-cells = <1>;
+        reset-controller {
+            compatible = "cortina,cs7542-ne-reset";
+            #reset-cells = <0>;
+        };
+    };
diff --git a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
index fb074de87..5aca670cd 100644
--- a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
+++ b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
@@ -33,6 +33,10 @@ properties:
     type: object
     $ref: /schemas/pinctrl/cortina,cs7542-pinctrl.yaml#
 
+  reset-controller:
+    type: object
+    $ref: /schemas/reset/cortina,cs7542-ne-reset.yaml#
+
 required:
   - compatible
   - reg

-- 
2.53.0
Technical Details
Message-ID: <20261123-b4-cs7542-ethernet-v1-1-fdb5e8c2d508@gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369693-linux-kernel-netdev=dewy.ru
References: <20261123-b4-cs7542-ethernet-v1-0-fdb5e8c2d508@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369693-linux-kernel-netdev=dewy.ru
From: devnull+filipp.dunsky.gmail.com@kernel.org (Fil Dunsky via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 1/5] dt-bindings: reset: Add Cortina CS7542
 network engine reset domain
Date: Mon, 23 Nov 2026 21:44:10 +0300
Organization: Usenet Network
Message-ID: <20261123-b4-cs7542-ethernet-v1-1-fdb5e8c2d508@gmail.com>
References: <20261123-b4-cs7542-ethernet-v1-0-fdb5e8c2d508@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3956843"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:YjeNucVO82p4ZGkkMRmqFG98b9I= sha256:MECULSFEF0melnuZLVOPJsEQPtza6KSpMeuFAFByJfU=
	sha1:TgMpGJtB+o1yY8eXJnrlBlkqfTI= sha256:vwLQ7Sjr8c69rJ+Tdw+qMCaCVl7e46TbyH/Vli8JNE8=
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 24B0D125DB9; Mon, 23 Nov 2026 21:45:25 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 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] 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 xQCKKfmgvXbU;
	Mon, 23 Nov 2026 21:45:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-369693-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 DEF5C125DC1; Mon, 23 Nov 2026 21:45:07 +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 E1BCD2446C; Mon, 23 Nov 2026 18:45:02 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795459486;
	b=3NXE48E0xt/tZJFy5WWP4GU/0YFRE0vsXXhOF5NIbIC7prG5ngDHWByaEQzUP1EdgNbI
	 E5JVbVbOE5krGwxRHqt5O3u9ZUDns9fSOypM/QvbTJwB6BblpOR2/EahKCrYUse8MWXsd
	 TvDks4tHE75l8Zl1gDVp38UaprwUiDiXdOrB7xDcxtSpnVRGUNHlbIbY/CLoZAnmL1R7s
	 5/V1DNIccc7hbS6850c3KIqq6++QyrCMcUotZYuHOcTsB/YqGFnRf8eXBbFDfjp6PBWH0
	 X0IprEF7ZfLuiNLeWE7SJ9JubCQCGAheVBqUmpySwFcrPpYW6FtQ2K+JZlYKHVQ3x4g==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795459486;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date:
	 Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=MjeKjHN4rePYNfzb7vgeU2LsVigAmUGjCvKXHqpWDDE=;
	b=cKHQeSLpQx57z/lmpRa/KRkwNA4Wsym3xHsX/tIZc/8zedSYGipK2r0/v/dhRSH06wMe
	 hcbkjYRBWkqL0iSO14Eop1asEHkTv12CLtIzE6EfABV9g1On7FliCoLA85bF1MtpmdXfH
	 wvjp5rgfQG7xQ8TzjJffzRdhDwBtyTM2IR+cl4bWNXJnANQDloC9LEDrTbsVYgH/GteHf
	 g4wT+uy905X3JpdNIHQfFyt1qp72t+XEJAGnXpdiuPnIhqHc8uEJogcWcbuWcrJAeCrMJ
	 +H6k759WXwTbQpZM3ifHdXQ2yObzJPanwx5mJIc5tMxZdGjeIn67ojfY2pyDrzPhZLw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KpviSj7e;
	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 D20FE606A32A;
	Mon, 23 Nov 2026 18:44:46 +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=KpviSj7e
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795459481;
	b=id7zz886gJ4fZhLHyP9MamiklGhs5JvKk/auLHHxIkQ32pw9ikT5B3T8FWsuZgCtSpmC
	 kzKL9vnoDeYcciQ0LJFh09fR3cfTDI3kcM4vaFyWkjvqwj2FeGW/V0uzGbJT9ewhDTcRF
	 OkGEQNTgTUmjGudP7B7xwb+l6jagZpRQjZN69mWX64IeeEaYrsGHrOERAX3zDPoYHFToM
	 HSseYuxMF9oj3wFkjMDXxujqgI+vtc9m4tpB/he8pCnMGHq39JjTyQetC/KHJjNyPFuYV
	 bxOljFB0rvzrdOov4pngnXg7beiNpf3DOqwSce/owuwC5gTVxtNtNyB1lAF+/Oe5/FA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795459481;
	h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version:
	 Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=MjeKjHN4rePYNfzb7vgeU2LsVigAmUGjCvKXHqpWDDE=;
	b=kw1pJU0HlnujY2Pj7odj2c6U99kXAWESTg5ULLy96uoOhWBKvjMipImFCFJu8gOpRRIQ
	 dvNvZLwjtkFjZHej/y2mNjT5fQ/LEQ9wfVdibvtmdjhsnFAf4PkW5mt+b+CX6JbqidCFl
	 E823H4F92wlvHgbfzI7Dvgw8bG9/TBOOJyEkTFq44YJZw+lqez/Pn4jklJXMcFyMvrVzH
	 gl3XpcgEQ+YvOUy5BoiAr8wSc1TXEh0iJxr2srGIc9L5/Nt4nIU2+gMPnrsmkf3GAA9Yu
	 3o2t8nlCIWHxGH5as085cpu4158RBB3tPZaBXce3eW4IOLZnKPspD8pTEgiC+E6PMMQ==
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=KpviSj7e;
	arc=pass header.oldest-pass=0 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 EE3D8606A6A0;
	Mon, 23 Nov 2026 18:44:40 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none;
	t=1795459480;
	b=In7JgtJjfpkXYGo1AYR1lwjrmgAdNZHMCKwi0kC6T08lQZnNaT7mbMwWYvXqwV8WBNmd
	 3ruTJHTu2b0ZxxUWzFY/8OIaQvWi5pycIcvDNsIcv9P/ghSA6L7ybJyGH1zcqkecBqUEJ
	 c4OB9gymrz1fOh5I/0ailmVYiFmb/b7R5e3hQFGHDKVkuBcFVs77ktQZKRizPq7zBHkfU
	 WqM6yO3rD4vDx7bJo8ZHlLf4bX9+VsiEnB44lSRQPUWta9ELa4/rX77oyhabawd6SaWsu
	 BhrBFNSmkF/KQ9dCHPS2bfLgxPY1wuktV0kqP+xbkSmNs4yk/SzmeeVtSPvHE0FCGrQ==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1795459480;
	h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=MjeKjHN4rePYNfzb7vgeU2LsVigAmUGjCvKXHqpWDDE=;
	b=qOBzvcJvAfZf6mqWiviT/4tMnGhpEqreY2RXosJD8gdHSAV+dO7zVfsZWLvxJO60Pe6q
	 zqobO2lAHmHVkrtTn1g/UMryOlEIC14GkBnRteQ5MkooCEIoxJXlJQ9A3r019iNMoknzT
	 JtnUoTGTEr4W/vBt7TCTjdJHg7xnwkzPQa2rBVEIZl8yBchuyYiREm4c2lJ6/JCohM5vt
	 fwS7BejHjakMEqtt4yUX2ZNYtOnUpDSGaS1FCOzPoA+oV89TXiAQZTigYF3NqmqcXKSmT
	 RTwLp7pT7cAAagCOV4wmswAKdUv78S/lrsphf9T5NKoRt5cIdLF5JnhevFOuVuhxBTQ==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; 
	arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.kernel.org (Postfix) with ESMTPS id EF0B41F000EC;
	Mon, 23 Nov 2026 18:44:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795459480;
	bh=MjeKjHN4rePYNfzb7vgeU2LsVigAmUGjCvKXHqpWDDE=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=KpviSj7e8Vq16WefT0FDzgq5IUNuprQBlyKY3+F1aZ6JM2+iot16TZhIgSyTdgdN0
	 vMI5+56j09nKrPd+D4R3CAlTsHoZE6nLevsNYDIeLGYA6YqePItBXTsy7ciuS1OP1N
	 5SP/vsLpDQdel+UqmnigtMiY0gB/dJFhsfRgmQri5hXJmVc0HJ1GaPVl6HXhlpproi
	 SY8MEl4HVVs5HDvAsFydA3XSb0zujGh5XKwZoZGHNSW2V+dCAuqNI0+xOK6vZL5czX
	 MhBXL8tzj95TLk7RttVK+I5Mq6V8sxe0/X8VBKO8J3g3vt7kdvkWRophCGuEXAlSt3
	 i5MmfMJMiEzXg==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id 3B1174C607;
	Mon, 23 Nov 2026 18:44:13 +0000 (UTC)
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
X-In-Reply-To: <20261123-b4-cs7542-ethernet-v1-0-fdb5e8c2d508@gmail.com>
X-Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, 
 linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
X-Mailer: b4 0.16.0
X-Developer-Signature: v=1; a=ed25519-sha256; t=1795459449; l=2664;
 i=filipp.dunsky@gmail.com; s=20260930; h=from:subject:message-id;
 bh=afQd1qV0B7xeIKmVAhfGJ0iLxscNrcmWGV+PpdebZtc=;
 b=tfTFkWIjfmcOGW0TyJsPhNwJ/7RsQQNGNr1PBzxNsUCebQE2Wyz4+JuGq072EW0dq4+4Z4BE8
 jSsGPN+vfVaCj+ze3S+IwQ9+oRNjzxQrLPDPyOBex52cVlc4QS+qzJK
X-Developer-Key: i=filipp.dunsky@gmail.com; a=ed25519;
 pk=JAYP8e2rJ54DHOmhNtXud8rl1igAaAXoOHxtJmVXI1g=
X-Endpoint-Received: by B4 Relay for filipp.dunsky@gmail.com/20260930 with
 auth_id=1085
X-Original-From: Fil Dunsky <filipp.dunsky@gmail.com>
X-Reply-To: filipp.dunsky@gmail.com