🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21203

Re: [PATCH net-next v5 4/9] dt-bindings: mfd: Add SoC-e SWIP parent

#21203
From: Vasilij Strassheim
Date: Mon, 23 Nov 2026 17:59
42 lines
11490 bytes
On Sat, 2026-11-21 at 11:19 +0100, Krzysztof Kozlowski wrote:
> On Fri, Nov 20, 2026 at 03:52:21PM +0100, Vasilij Strassheim wrote:
> > +examples:
> > +  - |
> > +    ip-core@80020000 {
> > +        compatible = "soce,swip";
> > +        reg = <0x80020000 0x10000>;
> > +        ranges = <0x0 0x80020000 0x10000>;
> > +        #address-cells = <1>;
> > +        #size-cells = <1>;
> > +
> > +        ethernet-switch@0 {
> > +            compatible = "soce,swip-switch-00-04-0c-10";
> > +            reg = <0x0 0x10000>;
> 
> You have conflicting address spaces - this covers all other children -
> which suggests this is artificial split of device nodes. Basically
> comments from last version are valid. If some split of device nodes
> makes your driver easier, it might be fine, but only under the
> constraint of proper hardware representation. It's not proper hardware
> representation anymore.

Yes, there is a conflicting address space here. I used the full IP-core
range for the switch child as a shortcut, because the switch registers
are interleaved with register areas belonging to other child functions.

However, that does not properly represent the hardware. Sorry for that.

I will describe the individual register regions for switch in the next
version:

    reg = <0x0 0x50>, <0xb00 0x1200>,
          <0x3000 0x14>, <0x3200 0x400>;
    reg-names = "global", "switch", "ports", "statistics";

> 
> Best regards,
> Krzysztof
> 
Many Thanks!
Vasilij
Technical Details
Message-ID: <4d56bd92d27429c3ac2cbcefac74c0327b3b3af8.camel@linutronix.de>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.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-369634-linux-kernel-netdev=dewy.ru
References: <20261120-devel-vstrassheim-soce-dsa-ml-v5-0-5de9225715e6@linutronix.de> <20261120-devel-vstrassheim-soce-dsa-ml-v5-4-5de9225715e6@linutronix.de> <20261121-lurking-bulky-crab-b9619f@quoll>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.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-369634-linux-kernel-netdev=dewy.ru
From: v.strassheim@linutronix.de (Vasilij Strassheim)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 4/9] dt-bindings: mfd: Add SoC-e SWIP parent
Date: Mon, 23 Nov 2026 18:59:48 +0100
Organization: Usenet Network
Message-ID: <4d56bd92d27429c3ac2cbcefac74c0327b3b3af8.camel@linutronix.de>
References: <20261120-devel-vstrassheim-soce-dsa-ml-v5-0-5de9225715e6@linutronix.de>
	 <20261120-devel-vstrassheim-soce-dsa-ml-v5-4-5de9225715e6@linutronix.de>
	 <20261121-lurking-bulky-crab-b9619f@quoll>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="3946625"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:tVX3uuGQuUvJCKGUHl8Q7Br74Xk= sha256:EDufOUV5wGGtWUJ3I7KqkIyhm8Wy5HG6IrtLraLzaFw=
	sha1:CWmUtUWYpH1omJkB0j6W7Cao5/Q= sha256:BZcuWsO8OAQY6kHN6CSZSSmiovDpA6tzlJ24xTe1feg=
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 C004E125DB9; Mon, 23 Nov 2026 21:00:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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, 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=linutronix.de header.b=qdNnJWs2; dkim=neutral
	reason="invalid (unsupported algorithm ed25519-sha256)"
	header.d=linutronix.de header.b=H9brzsHb
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 lYHEzBP0A6T5;
	Mon, 23 Nov 2026 21:00:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-369634-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linutronix.de
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B4F3C125DC2; Mon, 23 Nov 2026 21:00:00 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id A9F8B3085E; Mon, 23 Nov 2026 17:59:58 +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=1795456798;
	b=3TToW8MLaltZWyG9NUV/QZPErOFPyNzasVZA9JqjoN3Bz6ztVf1HK4CBURrwsQLHH+TD
	 Duaktgh25GLopFtoNn/2i9b+6ycOMB/cz1LgxnZWJv8VvEYvWw1BZTzp2LVISFi94q6xv
	 CMy3uTn2qqrKl0NrNZd9Yihh6dTzgyHRtHkG9SXH4CObCM/KdfaTNd+dSpnkOc19M7G0p
	 FphMXK7q0fQCgRacKTpMsCFyQCwuDPVvbEhtG5U4F3XsFjQnG9yqW7xZxMdHujNPr7nyu
	 PhDJDMsjqo+8XxTjrMgGPUHD1scpFFydUxj0hIx716jfMK3RsRj2/t9u6w9UBmpjuEw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795456798;
	h=X-Original-To:Received:DMARC-Filter:Message-ID:DKIM-Signature:
	 DKIM-Signature:Subject:From:To:Cc:Date:In-Reply-To:References:
	 Organization:Content-Type:Content-Transfer-Encoding:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version;
	bh=FfRowKDIqJJ06TaZd/p2W/N3uwv5mRb2fjX+HqmFftQ=;
	b=IRPV69WRQ4LfY2qIW/6szyi/eg3htD9nESVO1PS0wQYmUJPKVmKtr7I/gbQq4WkSMT8a
	 cypxujMfMmI5PdeArlcYW+OdSFMa2XxL2zOx6S56VlOtOoP69E4NZjD8SXqqJ3nr+CfLG
	 qXbCijzzEHMjW6XRoO6kDi2wsnMw01MBBLoAbmiBvPy3xllWTyhqv0VD1j/zNbpavbz0B
	 Pmam6CHaBrlaamQqsbd3uoNmKZU232DW+IiSK3agTWnewKfp3ojC+MT+rshGMHVlxHotS
	 8xmwxokYTv7v9zCXCWXY0OjjzKp1YOfIrFXGWog6Wg5igXPZO7bKdYBW/oKcArOYx4Q==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=qdNnJWs2;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=H9brzsHb;
	dmarc=pass header.from=linutronix.de;
	spf=pass smtp.mailfrom=linutronix.de;
	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 7F442606A332;
	Mon, 23 Nov 2026 17:59:58 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=qdNnJWs2;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=H9brzsHb
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.142.43.55
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795456792;
	b=NOCjRu1k4LKGB7nrWQfHQwBIICbKR90k8+s1bvjkFLVBBPyQ/nqOvsYbI2fLtgfYk31m
	 DZ0MS9C2kI1O7HJGWzCX3A84CmbPn/lH1hwuYCoJD+WpKKpuMUPI2MFt/pUd5nzVmSjX8
	 VG/e3pRTlK2JOyxicnnKXjIy/pOiuFv2nwtRzG/+AafPzj9c/PEbdg9gkjgh/iH53rpRp
	 nLqriEyiIHTK12Tqsf52F/sFcISVxdS6FXrO+gJxNlpxfu7GVCI/oavOyvmlUWQugvyJc
	 Dt3grYeGSUncUDP8EeeuSVY8vMw8KM/YmN/NC0uu3kpb6OTFH7d6sqW5Qi8yE/+Ghxw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795456792;
	h=DMARC-Filter:Message-ID:DKIM-Signature:DKIM-Signature:Subject:From:
	 To:Cc:Date:In-Reply-To:References:Organization:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=FfRowKDIqJJ06TaZd/p2W/N3uwv5mRb2fjX+HqmFftQ=;
	b=j8N6gRiE9h4c2fASYNaYOEj/NbJA5H+gWJIzcFXJxqWSZ1LWji+w8gxppaBD+6UVArwn
	 7nOVA1+LPVB5GCMm/ItwRp57PPZAsmVASlTEC0TRopnaChYV7M7Wi20sODXRx13cy7LLG
	 0SDCPvQmT0jqaLFH9QVlJ/jW72fo/ledMiaILB1HCp9pdA4bhAsJ3e4njNf4uf0/SeDYO
	 2YA/Evwv41oRVg6KiQnVFtSvrS3g/u94u/1pk2GM32M0igiyj8TpIWCHj7jAUrkzeWGnn
	 StxlUXQUxLtCAWyvwGwhIgK1uGKqK819fEQimEOkgJa0QPcPTRUQpTyLBrr2mXS/O5g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linutronix.de;
	spf=pass smtp.mailfrom=linutronix.de;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=qdNnJWs2;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=H9brzsHb;
	arc=none smtp.remote-ip=193.142.43.55
X-Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55])
	(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.subspace.kernel.org (Postfix) with ESMTPS id 24308606A31E;
	Mon, 23 Nov 2026 17:59:51 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 24308606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de;
	s=2020; t=1795456789;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=FfRowKDIqJJ06TaZd/p2W/N3uwv5mRb2fjX+HqmFftQ=;
	b=qdNnJWs2gBgEno4xTlLe1uC8g2lqMnVCLCvKovXdlAuEYoc+cskX1LjfmvxpH3E3DqJkBz
	QWeKfftzs63qkZLnAPtsumz+Gr7+LBeR2/CjOeIokqxV9ZG11RJV1/W9adZXeDFAe/DUxj
	P8BhHS0v7bOXrn2ufXI4RNCDPO6NJFAXVnNylfT4MVSE93pdbQQVl5eyFXRoEn8wPU2L4Q
	W3V/Cbv0EQMzjlj9r67OzAN2B1LBckNCLrPCZTMmJhuGJWwrTtyQyPrVoKcIa8aNKioGht
	V198+DE1P2FqZSARJqMTxdtLWwopGsQ59jp3noTngzd2+RQN3XzAUYcZDLxqMg==
X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;
	s=2020e; t=1795456789;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=FfRowKDIqJJ06TaZd/p2W/N3uwv5mRb2fjX+HqmFftQ=;
	b=H9brzsHb1FdVP4AXC4/J+YYXSesAezfa+fCCy/79GGG2FjVP1ko/3/QaOfqmG8iM0mXWWB
	GYT7PwK0nivO+5AA==
X-Cc: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>,
  Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>, Vladimir
 Oltean <olteanv@gmail.com>,  "David S. Miller" <davem@davemloft.net>, Jakub
 Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman
 <horms@kernel.org>, Russell King <linux@armlinux.org.uk>, Andrew Lunn
 <andrew+netdev@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Eric
 Dumazet <edumazet@kernel.org>, Lee Jones <lee@kernel.org>,
 devicetree@vger.kernel.org,  linux-kernel@vger.kernel.org,
 netdev@vger.kernel.org, mfd@lists.linux.dev,  Martin Kaistra
 <martin.kaistra@linutronix.de>, Benedikt Spranger <b.spranger@linutronix.de>
X-In-Reply-To: <20261121-lurking-bulky-crab-b9619f@quoll>
X-Organization: Linutronix GmbH
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