🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #15924

Re: [PATCH net-next v4 3/8] dt-bindings: net: dsa: Add SoC-e SWIP switch function

#15924
From: Vasilij Strassheim
Date: Fri, 13 Nov 2026 19:07
93 lines
12863 bytes
On Thu, 2026-11-12 at 11:33 +0100, Krzysztof Kozlowski wrote:
> On Thu, Nov 05, 2026 at 03:16:47PM +0100, Vasilij Strassheim wrote:
> > Add a binding for the Ethernet switch function integrated into SoC-e
> > SWIP cores.
> > 
> > Signed-off-by: Vasilij Strassheim <v.strassheim@linutronix.de>
> > ---
> >  .../bindings/net/dsa/soce,swip-switch.yaml         | 96 ++++++++++++++++++++++
> >  1 file changed, 96 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/net/dsa/soce,swip-switch.yaml b/Documentation/devicetree/bindings/net/dsa/soce,swip-switch.yaml
> > new file mode 100644
> > index 000000000000..daac779c466d
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/net/dsa/soce,swip-switch.yaml
> > @@ -0,0 +1,96 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/net/dsa/soce,swip-switch.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: SoC-e SWIP FPGA Ethernet switch function
> > +
> > +maintainers:
> > +  - Vasilij Strassheim <v.strassheim@linutronix.de>
> > +
> > +description:
> > +  Ethernet switch function of the SoC-e Switch IP (SWIP) FPGA core. The port
> > +  count and presence of VLAN and STP register blocks depend on the FPGA
> > +  synthesis configuration.
> > +
> > +$ref: dsa.yaml#/$defs/ethernet-ports
> > +
> > +properties:
> > +  compatible:
> > +    const: soce,swip-switch-00-04-0c-10
> > +    description:
> > +      This compatible identifies the register layout; its suffix gives
> > +      the offsets of the core version and feature identification
> > +      registers (0x00, 0x04, 0x0c, and 0x10). Port counts and optional
> > +      features depend on the FPGA synthesis configuration and are
> > +      detected at runtime using this register layout.
> > +
> > +  reg: false
> > +
> > +  reg-names: false
> 
> I don't get why do you need these two above?

They are redundant here. I will remove/fix them as part of the binding
update once we have agreed on whether to keep the MFD model.

> 
> > +
> > +  ethernet-ports:
> > +    type: object
> > +    patternProperties:
> > +      '^ethernet-port@[0-9a-f]+$':
> > +        type: object
> > +
> > +        properties:
> > +          reg:
> > +            maximum: 30
> > +            description: Switch port index, from 0 through 30.
> > +
> > +          phy-mode:
> > +            enum:
> > +              - mii
> > +              - gmii
> > +              - rmii
> > +              - rgmii
> > +              - rgmii-id
> > +              - rgmii-rxid
> > +              - rgmii-txid
> > +
> > +        required:
> > +          - reg
> > +          - phy-mode
> 
> Best regards,
> Krzysztof
> 

Thanks,
Vasilij

pw-bot: changes-requested
Technical Details
Message-ID: <fe5b70739f9263e651562f6ed295b05e53f59704.camel@linutronix.de>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362863-linux-kernel-netdev=dewy.ru
References: <20261105-devel-vstrassheim-soce-dsa-ml-v4-0-02f3cde2afa1@linutronix.de> <20261105-devel-vstrassheim-soce-dsa-ml-v4-3-02f3cde2afa1@linutronix.de> <20261112-unselfish-congenial-waxbill-c7f9e3@quoll>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362863-linux-kernel-netdev=dewy.ru
From: v.strassheim@linutronix.de (Vasilij Strassheim)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v4 3/8] dt-bindings: net: dsa: Add SoC-e SWIP
 switch function
Date: Fri, 13 Nov 2026 20:07:41 +0100
Organization: Usenet Network
Message-ID: <fe5b70739f9263e651562f6ed295b05e53f59704.camel@linutronix.de>
References: <20261105-devel-vstrassheim-soce-dsa-ml-v4-0-02f3cde2afa1@linutronix.de>
	 <20261105-devel-vstrassheim-soce-dsa-ml-v4-3-02f3cde2afa1@linutronix.de>
	 <20261112-unselfish-congenial-waxbill-c7f9e3@quoll>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="1418861"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:BgOXyxHuX/9Ytq4jwRRMVdYMEz8= sha256:CXLOfP4c1Ag1jubsJmDkd9ZC+Q4YMm4O60P4nCP8bpk=
	sha1:TcCJhaaU9vr0RTU9UFlJW114reM= sha256:SSGBaLbyyQoqsRO2Wxn4nLDZ8otHr+mkZgqrEe7UFLw=
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 9F689114629; Fri, 13 Nov 2026 22:30:24 +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=WYY41mQK; dkim=neutral
	reason="invalid (unsupported algorithm ed25519-sha256)"
	header.d=linutronix.de header.b=VWpC1hAE
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 nkEEt4iqEonS;
	Fri, 13 Nov 2026 22:30:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-362863-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 0C88011461B; Fri, 13 Nov 2026 22:30:06 +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 0D16C166000; Fri, 13 Nov 2026 19:07:51 +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=1794596865;
	b=wlzkBXAU7SGXeT9Mp700RqpIygvmMfj5JJ4SfmBiB+ASJhsPcm91XVowWy2V9kM2DJmO
	 5XwrFgF6xhScuTJ1Ve5ZqfKOqAfhSQS0zbs7ocfdtcIIuIe9y6VNrWkBWUuBEvaswKdKP
	 EacMxUqcIdcxY6hj+PxUNK0ibvCGozBv7c2sIwefThUdHrAV9NOxFY2QJa6UjV4Yf8RqS
	 Ec36aGMHRuycR9CWdnPl1Oeixl0JJgDHk4RqnlJmiC3QYxwBQfsl5nnN20e7WgQM01fYQ
	 u9bkB1azumHG9DVebGhT4BOlaUgoBIQL3uYpbZXZoCQGFE7wzZZF3tg5AdNw+GKIAyQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794596865;
	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=HUWxRSNQt/U1xRTYDTiSTmQlq8PC+DwLe0ilelIqGno=;
	b=j6CeCzP2wlKXl1bcKYFzS//7Y60lvcJLhywRKCClsPVVCTnbZSPvJ2rk7ngi5+sqzjnM
	 P+GTpTWh1GIzD41Ibw1G25KdnxNUDefVRM3gsvyOEP6a1F0+MPr6m1Z+dZuu1W3axJ44I
	 CVweE1Ap8rIiz5T0vnpnKejepz8W75paiY1A6iuBe1xMLtqwH0gGDWemyIh1CV+Xdp/dj
	 XnhWk9xHO0X8esNIBNWOEFBj+SdYs1sFruXnSyq7UHfy7jIxxODQO4R5AlEr2k9bHBbTF
	 wmw4yVHmP+6XJjAnqdz7Fujy/qB6FDC6kzghAtsvmpAidUlTm8PdoqoYDxZVon1M3hQ==
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=WYY41mQK;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=VWpC1hAE;
	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 14D8F606A898;
	Fri, 13 Nov 2026 19:07:45 +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=WYY41mQK;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=VWpC1hAE
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=1794596864;
	b=s28pIPN1HXE59oZD0ibB6EMQqO6cDR4K5skA7NMh+c99KVQV/uOzCkgYkmyi9WXvTdwH
	 gBVhi/Nh+XaVGWCsUYBnfsqdj2Ov+xLg/XkYOrMzkMP3p51lhSVkKnKHNt65/IwUvM/8o
	 FBJN8s/WE7F7gjOxr3B/kFMVZ3drfjMP7mFe0cwdOhmn7qmJY7COzKF0pWWoY96gO7KpW
	 tauKJ3Zf1jD+/vL0d0V+XQQX4Fh62WPLf1HC71w0HgampUzw1G9sw17oqhl5vvV8bgw+w
	 QXQ7QpUINqhFrezo9MLHPfs7p9Dr8mxFXQKdKmzwVmmpBu44/F179oTMH2O1ORcaEww==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794596864;
	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=HUWxRSNQt/U1xRTYDTiSTmQlq8PC+DwLe0ilelIqGno=;
	b=EXaDixNTww0+yCw6p30cEQMAJZnQhpPTy06YTZUl4ReP3krn2Vc3kYbZeqeBMbWWiyre
	 Z8RpY158ie/PCdkE8DiZzTIGyioWoGtOqo1V3IxP2p1W9/GvYfgbqd1z1/eDRLl+sk3Pv
	 97uwf0fJmz1/dhNDJHi8dhW5wG+AmeQW/0wFvXT8zsUZeALsR82coqQozYlY41pk/PaLm
	 GWqUlYljTvVHOakdBhRYsrym027j8AJitDKjwAD2pZF8sNbKFYHw5kws+HYSkiuWWacfn
	 lpG5U8156X4PCWL8J7+XW+dXhQvEBcYUPhD5H6b6FxFtpNdJ6Iz0PTK9SWkmaaI4eUw==
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=WYY41mQK;
	dkim=pass header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=VWpC1hAE;
	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 B6087606A32E;
	Fri, 13 Nov 2026 19:07:43 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B6087606A32E
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=1794596862;
	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=HUWxRSNQt/U1xRTYDTiSTmQlq8PC+DwLe0ilelIqGno=;
	b=WYY41mQK698YIIT7dHjzOuGnuiulRvHQvF8ybAKAT6Edkrsecfky9I0j2UclWLMsCkFS2G
	dqQXSYFv3OAmBN6ysOLvObOka/o4KrJDzj/R1U7dVGWuS61zGFkfEXjZay2IkMLRy+unFX
	98Zdh9U3lQSr9BeKN/IrQFNvDIsa9xcchjPN6/Qkg34i7+a7CaHkOkwFGRN9su4RiCx9rG
	snuI3vprqG+2UPNqSHJO4tqrv7TSHlBPZlN+CUPExY+8xx9oW1p6hBGdsgG3e7a4awjChG
	v/0A+Z7euBpW6GClwy/sIs+Q0m0uZcPqDehRxtM/L3W8xhMrhPymqC0OGv+h7A==
X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;
	s=2020e; t=1794596862;
	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=HUWxRSNQt/U1xRTYDTiSTmQlq8PC+DwLe0ilelIqGno=;
	b=VWpC1hAEBti0QIMScZND8VCicAOhC9dLpzAYpryeEac6v6pvfVqQYoSoWn9ZTRM9xjLcoW
	tclGxiPB+xfCSqDA==
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: <20261112-unselfish-congenial-waxbill-c7f9e3@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