🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8093

[PATCH v3 2/7] dt-bindings: net: dsa: mediatek,mt7530: add passthrough mode

#8093
From: Caleb James DeLisle
Date: Wed, 28 Oct 2026 01:13
33 lines
9991 bytes
MT7530 switches can be configured to blindly pass packets between their
CPU/upstream port and a downstream DSA port, in particular, without
altering the MediaTek DSA Tag on the packets. This mode is used in some
integrations where an SoC integrated switch exists, but a more capable
MCM switch is added to effectively replace it.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../devicetree/bindings/net/dsa/mediatek,mt7530.yaml       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
index 90b3582b7619..e29fb8693498 100644
--- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
@@ -73,6 +73,13 @@ description: |
 
       Check out example 7.
 
+  The MT7530 and MT7531 switches are capable of being operated in "passthrough"
+  mode. In this mode, traffic is unconditionally passed between the CPU port
+  and the DSA port which links to a second switch. To use passthrough mode, the
+  upstream switch is configured with a DSA link to the downstream switch. In
+  passthrough mode the upstream switch is restricted, with no other ports or
+  switch configuration allowed.
+
 properties:
   compatible:
     oneOf:
-- 
2.39.5
Technical Details
Message-ID: <20261028011317.1557238-3-cjd@cjdns.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352688-linux-kernel-netdev=dewy.ru
References: <20261028011317.1557238-1-cjd@cjdns.fr>

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-352688-linux-kernel-netdev=dewy.ru
From: cjd@cjdns.fr (Caleb James DeLisle)
Newsgroups: linux.kernel.netdev
Subject: [PATCH v3 2/7] dt-bindings: net: dsa: mediatek,mt7530: add passthrough mode
Date: Wed, 28 Oct 2026 01:13:12 +0000
Organization: Usenet Network
Message-ID: <20261028011317.1557238-3-cjd@cjdns.fr>
References: <20261028011317.1557238-1-cjd@cjdns.fr>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1674082"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:kGcRKdiu6fvsA4y7Wzg+zkEAS1U= sha256:7TEkZ/VvLPOCHgu2eTJNaoJw3BJW3ceqjbub9XmcbuI=
	sha1:CmrnzxA0WziM8O+huN4H72vy07I= sha256:AhR5lDN3fLpmYZHP+tKdJbq3d44bZjTMwY0E8hkagBQ=
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 1AE1A125C1D; Wed, 28 Oct 2026 04:15:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=cjdns.fr
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 jwbtLoHdvvz0;
	Wed, 28 Oct 2026 04:15:08 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352688-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=cjdns.fr
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 0ACA3125C25; Wed, 28 Oct 2026 04:14:59 +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 8DE242D86B; Wed, 28 Oct 2026 01:13:55 +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=1793150035;
	b=zKRZzOibhKMwlDv+SoVn5DuEGVv3oi7Wsd8kOiO/63sgQnWncgtsDamphj0cG3kr+GOo
	 bciRCvY64e2ek+2LstdhMEN20Hwppw27Z7XhRlf+W2ZS9TjKbN+MEdhXZ10BEdqEhSIMq
	 9nEb6LLDDCNvP63YKSDvvhpGUKxa8vX1x/0YmlyPgOIAagixQ+cmbUnaIJKFIYXkV2lGV
	 TbIBgtdaLC9ka4EAgglS3lMo0uInBNqEnQ90GhYXcAFjrd4uHBY+3TMD89b8OS7Drnqes
	 N0j9+SNCDBlBa8tnGV4ahpNruQbbwnLS0p1PRQotjj8G55NrfxpxVImjZJnLxqXQnzw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793150035;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:From:To:
	 Cc:Subject:Date:Message-Id:In-Reply-To:References:X-Mailing-List:
	 List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
	 List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding:
	 X-Last-TLS-Session-Version;
	bh=J6aXW99GWTcAFmCDZ2wgLoJAYDS3rHe4uZHX6AbQbjs=;
	b=BSX2IZYWIx6L1gfityDWifecPCPY5Wr4etEu2TqdTFVWaMqt+mahzIkNuTa/lNQM3+V/
	 vhwdzmP/jIJuT2UFoVhQIIucZupU890qa0IjhpVZ/K8RoIMXUkHP4K5ULVDkxpHM2VZJB
	 ds2YwtMWmqhc3qZGNG47haim7Fnliy2XaQdIPRKoFBdbyNctdzJZnSSwxM4fxGehrjYoC
	 E+mMIzs9+u3PHhNO/dkaQsDEiWHxhBLBzWzzgFeHqdrPeaf5gV7DpdPOmc0DZFbHRTs6X
	 SvUIcDduB10SIQpgFNrtKBiwafa5AC4IbSI4ks5UVgssUcl8F6lb/oErGWR6vaLp4NA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b=tKAUV4BE;
	dmarc=pass header.from=cjdns.fr;
	spf=pass smtp.mailfrom=cjdns.fr;
	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 F246A606A33A;
	Wed, 28 Oct 2026 01:13:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b=tKAUV4BE
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=5.135.140.105
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793150029;
	b=mlTxL1u2T/64rpOOsZ0sMGv6KON7A8tlyXi2GKu4NTtfUV/hnHwMd9+ngEoKetLOrOYl
	 BU2PEVwRDPMkoEpKKcY3Gm8EmOeL2QJhI3MN2B0XsizueuFPZGB1JIpY4vD5RfB3DrcAW
	 +qxwLtN3Nt6R0moGsG3lYBTzcZS0ykD5ybJpmj/uanVa8JWct/ypogpCJxeuHtXxaC8qm
	 +RWs9dDiPdAlujGlJ4YfREdgTNqy0Yab96Fi6eEkpOnRArvzYEQfnuzvxZaGBXtvv5IrH
	 mdk9l3cwxCe5ilpx4s/AT+OQ6hYhZeYnkDdfG8rayM9tZMfHDaZdrtnV+YYeA6Rp4bg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793150029;
	h=DMARC-Filter:Received:DKIM-Signature:From:To:Cc:Subject:Date:
	 Message-Id:In-Reply-To:References:MIME-Version:
	 Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=J6aXW99GWTcAFmCDZ2wgLoJAYDS3rHe4uZHX6AbQbjs=;
	b=ZPukNPGubcwFJlwxTfNNERZ+LMV7AGQHLoeaTDyZqPA5bu53R1kD8Cs9F3p12O5/yxng
	 qkks81PfiFdBG86/uvCFMX/gQvrbv2sVxpd/O2OVDNsvla49nQeETbbqDAzkBGnUicauo
	 6XcQVRGhUcP5WZoKqzvhktr8hhnwIjioqGuBQtHmaTpd1iDk+w54Xs91KKkkevkwBo4Dd
	 JebCDrvzHs/u4olkkTHCVXf+mkAi9tAAQ0nQm7+uXmM4J8XUmxJ1EdF5boFwy/RNYZeto
	 cAo+HnEGlsgLE8z+oJEqBL+XeU5cdx2WHf7OEOlUFEsUKQQnUojXJuAzvubx5u/28lw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=cjdns.fr;
	spf=pass smtp.mailfrom=cjdns.fr;
	dkim=pass header.d=cjdns.fr header.i=@cjdns.fr header.a=rsa-sha256 header.s=dkim header.b=tKAUV4BE;
	arc=none smtp.remote-ip=5.135.140.105
X-Received: from mail.cjdns.fr (mail.cjdns.fr [5.135.140.105])
	(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 8EF1D606A31F;
	Wed, 28 Oct 2026 01:13:48 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8EF1D606A31F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cjdns.fr
X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 8ECD61479F0;
	Wed, 28 Oct 2026 02:13:42 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjdns.fr; s=dkim;
	t=1793150026; h=from:subject:date:message-id:to:cc:mime-version:
	 content-transfer-encoding:in-reply-to:references;
	bh=J6aXW99GWTcAFmCDZ2wgLoJAYDS3rHe4uZHX6AbQbjs=;
	b=tKAUV4BE1GyUCse+EdtqNrBOc8Ja1XIyk5fQl+YYsW+/8zVbrkVWeR8IFsVEQAxEXdKwcy
	J5jhXqGk3rPkA5c9G7i3cevpxd4FMMb4eLSIXIcoqs004os5omMGVdMu5cC2hsFVVnAfkd
	NIZ6TPvg1YA9mUzjLVLzO8PPx3eIICSOviGW5n5gOo8sn2ka7Xo+UiCb9N8SKUbsoY40mw
	zt4q+Ghn/C6Cf9sy4Rl9WQDbUiWg2ow+++RzTTOGhBnIKsJTxdClTcE0oSreFGESPtO5XE
	ieNlTL0/wYnC4JjjJWUSbyPTOEBCTXvOfmFxIfq1fzo8+SvhdC57CncHO1+fWg==
X-Cc: andrew@lunn.ch,
	olteanv@gmail.com,
	davem@davemloft.net,
	edumazet@google.com,
	kuba@kernel.org,
	pabeni@redhat.com,
	robh@kernel.org,
	krzk+dt@kernel.org,
	conor+dt@kernel.org,
	matthias.bgg@gmail.com,
	angelogioacchino.delregno@collabora.com,
	chester.a.unal@arinc9.com,
	daniel@makrotopia.org,
	linux@armlinux.org.uk,
	arinc.unal@arinc9.com,
	Landen.Chao@mediatek.com,
	dqfext@gmail.com,
	sean.wang@mediatek.com,
	devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	naseefkm@gmail.com,
	b.larsson@gmx.com,
	Caleb James DeLisle <cjd@cjdns.fr>
X-In-Reply-To: <20261028011317.1557238-1-cjd@cjdns.fr>
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-Last-TLS-Session-Version: TLSv1.3