🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20441

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

#20441
From: Krzysztof Kozlowski
Date: Sun, 22 Nov 2026 14:54
39 lines
9437 bytes
On Fri, Nov 20, 2026 at 03:52:20PM +0100, Vasilij Strassheim wrote:
> +$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:
> +    description:
> +      Register window of the IP core. Switch register blocks are located at
> +      offsets defined by the compatible. The MDIO controller and bus
> +      multiplexer occupy separate subregions described by sibling nodes.
> +    maxItems: 1
> +
> +  ethernet-ports:
> +    type: object

I guess this should follow:
https://lore.kernel.org/r/20261120002549.1908299-7-prabhakar.mahadev-lad.rj@bp.renesas.com/

so: additionalProperties: true

> +    patternProperties:
> +      '^ethernet-port@[0-9a-f]+$':

and:
'^ethernet-port@':

> +        type: object

Best regards,
Krzysztof
Technical Details
Message-ID: <20261122-camouflaged-pretty-camel-79f370@quoll>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368718-linux-kernel-netdev=dewy.ru
References: <20261120-devel-vstrassheim-soce-dsa-ml-v5-0-5de9225715e6@linutronix.de> <20261120-devel-vstrassheim-soce-dsa-ml-v5-3-5de9225715e6@linutronix.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368718-linux-kernel-netdev=dewy.ru
From: krzk@kernel.org (Krzysztof Kozlowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 3/9] dt-bindings: net: dsa: Add SoC-e SWIP
 switch function
Date: Sun, 22 Nov 2026 15:54:22 +0100
Organization: Usenet Network
Message-ID: <20261122-camouflaged-pretty-camel-79f370@quoll>
References: <20261120-devel-vstrassheim-soce-dsa-ml-v5-0-5de9225715e6@linutronix.de>
 <20261120-devel-vstrassheim-soce-dsa-ml-v5-3-5de9225715e6@linutronix.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="3658259"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wE1KaC6LAjZMK32xUBtkYM98E98= sha256:xwedMsB6xupi4vxSVlRrj57JTbigH8161vwORRShX8Q=
	sha1:RtWa+8+mUEn6xSH5eMN9J7Re1ZI= sha256:cKjsow21UqSAkdJCCCy65pawcuoydzodBVL/ji0zUv8=
Content-Disposition: inline
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 D5E6C125D80; Sun, 22 Nov 2026 17:54:50 +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 kA1mYYIRuFn3;
	Sun, 22 Nov 2026 17:54:43 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368718-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 3EA4B125D7F; Sun, 22 Nov 2026 17:54:34 +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 A54D92FA1B; Sun, 22 Nov 2026 14:54:32 +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=1795359272;
	b=0nfIhxa0jRMZ12S4oBSWMF9Y621gHb/ScXXYmXh+1m2lie/Z3JzSUXZvcT5IobqnGMxr
	 DmidnEsI9SKTSjgCfTF5c5gnuOTX2QS9bkmEdX4G/wz792Lcb57+O1qrsFBdbDd9w8Z2x
	 8O4GwKz3pFQByw6WHNMGSX4HV5gno5Uq8OdcF7DgDSmoEayciz6EwI/5Hdu7RJlT7c7jb
	 eYOO1///PmF3IOTEl01aPDg+vM98qQTHdbWOVOlfEU06lrq6Oln3H6QFAtivlsQ37Xd5m
	 3nr5DNVoo7rKTt77x8RtSc+HC1afA6eD5/2tfThOIDjDxnQ3VN5abyTMpqi4UIZPC7A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795359272;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=iN/nddxdvRMLU2SkW9x6MGgEnBY1rvCW4Vq0IU091oo=;
	b=iQp693I58QX1NxoA/mAYjJrww+Nx6nNBGuP4N26xdpu867q6Ge+ad7D839O7DqaJ1Xeb
	 Z5Lk9BhT9XnikrXZnjGKg+7+9NyXzbxThJsicsPNUxj7iUQfkxV4vn8xPCnElUZaXo/dF
	 Zh6UiqbybRhdhR8Zbua3HWa/+j7/BUS7wS2oIVDc8a4NZeGudiyk32t3Bb1Yrs16aW61v
	 21VAJuM0uee7D0gxLhFu2vNL6T3aP39/P70vgcZRxAgFoTssx3HYlKbcVAEEYWgmsi9pF
	 VOKunLSL2atD/IsTJWLhsN2uf7ncKiLNvYU4z/WuDapqanSYhuF1Y3vE+0zN8bwhNgA==
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="BREg/BeO";
	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 7E485606A330;
	Sun, 22 Nov 2026 14:54:32 +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=BREg/BeO
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=1795359266;
	b=VdUZ+utTSDRyMkM5O6tuhW5lcCliDOfDknc2YrnggqmzU65jyKTIkysMHUXiZ3GI2ETZ
	 H+55QoD6gNgoRenlR3Shio5/zxhB/VY/yxiLefbcmISnY0bpOx9z19jIBTdFSbxOExy9H
	 0ZOtJO8MmQ5PZjC8R8uulxPX+/4Zl2faublp7fh2NTAzl3lBYkpI/XgHAMAU0BoC8Dh5X
	 Td6j676/rvLuLdHaqrvimpzkY04ZSdDSJBrqYyfprM8OUi1D7OBWuyN3GwrVCw8M321E7
	 T8Xw3MGcq8udGZbZBElbonlPe9OjP7wpNWo70Csx/P9drQxBXLC+8cNufjaNZtboEwg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795359266;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=iN/nddxdvRMLU2SkW9x6MGgEnBY1rvCW4Vq0IU091oo=;
	b=BKzCrcpsy8nb59VbFmSXMpK8ieN+AfBwUVcDO20wuxSZnVXi/JFbdTsTfVbf6SIf33Cp
	 oqEt4H63EiwxtBtyJ8jxhjDd/XdMiAPeTBHJq6BQDZ7k634l2fNrvX5RF6YgG5ROawNGC
	 hhoqDGQpbuxx+2Sf3qlxuKmS7r3ub6iYuYRW0S/+jtdXrbW4BUA//YE5OZZQAd6xwMfe5
	 k85BIzTFYt26ikm3YxRoe1u9lSJwXvM3z7umNP5zOxCZF/357954NsukHBIhsJLzW7b+n
	 S92qPb/ai8CantnDeIvqjxIrF5LOWt0HRa/LN8qLYptD/oARbRlDMbX9W9uq71u2z/Q==
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="BREg/BeO";
	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 9DAF4606A331;
	Sun, 22 Nov 2026 14:54:26 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C782F1F000D4;
	Sun, 22 Nov 2026 14:54:24 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795359265;
	bh=iN/nddxdvRMLU2SkW9x6MGgEnBY1rvCW4Vq0IU091oo=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=BREg/BeOBdwAJd7clok41drHWisly6ktafnWOSBCuiCCVtqMUhOgRXOEwR38UJAy6
	 SX87epgJP2Eu3/QVf2oEeuJUxQeSoQPUGn+HKOjdaNa9OUPeHjnXQ0YHo60hQ40qld
	 ZGvJcJACjFveYKOAsDYfsen3bCwOmfHTdhQZRIpnjsYR7/Hns1+932ozb3NSbNCzht
	 WtVJ+0jfMxOtPFSTy876LCur3vTSDwZ68zPuQsT6RzZjKwlLt7HL3liB8bAbSFFHRe
	 y1WnG2go3Kv9NPitpZ0YjStNAfPnQ4BP+uk3xqaqzSHqgETH7uoHTR+e7FcaMSc5H4
	 i9dZCAoLIo6jQ==
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-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: <20261120-devel-vstrassheim-soce-dsa-ml-v5-3-5de9225715e6@linutronix.de>