Article View: linux.kernel.netdev
Article #8109Re: [PATCH v3 6/7] dt-bindings: net: dsa: mediatek,mt7530: add econet,en751221
From: Andrew Lunn
Date: Wed, 28 Oct 2026 02:26
Date: Wed, 28 Oct 2026 02:26
24 lines
9684 bytes
9684 bytes
On Wed, Oct 28, 2026 at 01:13:16AM +0000, Caleb James DeLisle wrote: > The EcoNet EN751221 MIPS SoC integrates an MT7530 switch memory-mapped > in the SoC register space. It is similar to the econet,en7528-switch > except that ports 0..3 are 10/100 only, port 4 has a gigabit PHY, and > port 5 has no PHY, but is in some implementations connected to a > downstream MT7530 multi-chip module via a TRGMII link. > > The downstream MT7530 is similar to the MT7621 multi-chip module and > has all gigabit ports. > > Add the econet,en751221-switch compatible with the same constraints as > the other built-in switches and also add the econet,en751221-gswitch > multi-chip-module switch whose port 6 is configured as a DSA link port. Is there a use case of the econet,en751221-switch not in pass through mode? This is where you could have a different dsa_switch_ops structure, which probably makes the changes less invasive. Even if there is a use case for not pass through, you can still look for the property in probe, and decide which of two different dsa_switch_ops to pass to dsa_register_switch. Andrew
Technical Details
Message-ID:
<f9249c6d-ef72-4723-a3b5-8d5375e53744@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352706-linux-kernel-netdev=dewy.ruReferences:
<20261028011317.1557238-1-cjd@cjdns.fr> <20261028011317.1557238-7-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-352706-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v3 6/7] dt-bindings: net: dsa: mediatek,mt7530: add econet,en751221 Date: Wed, 28 Oct 2026 03:26:29 +0100 Organization: Usenet Network Message-ID: <f9249c6d-ef72-4723-a3b5-8d5375e53744@lunn.ch> References: <20261028011317.1557238-1-cjd@cjdns.fr> <20261028011317.1557238-7-cjd@cjdns.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1684342"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Dd4SglJOIlgujVmphPOUdCNx0rw= sha256:mjwpo9guWnqspjEA+oC6r295HDDlHa+vRa7g7fD9yjc= sha1:O0jVTF8KJaKq8cDZePGFV/vPQd0= sha256:8a5zDjYH+lRaZVCb8aALadcNC9L1TmLXvSjRRBHUa2s= 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 5E04E125C2A; Wed, 28 Oct 2026 05:29:43 +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 (1024-bit key) header.d=lunn.ch 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 Kn6vxT7MLcqR; Wed, 28 Oct 2026 05:29:40 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352706-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id ED956125C29; Wed, 28 Oct 2026 05:29:31 +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 BB1CC31F14; Wed, 28 Oct 2026 02:26:53 +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=1793154413; b=dB905oESdUti53+PI0wyYuRCricQGm3Nsh0xr3ecBrvpr+SIzTAtCnYVegejjqXY9AjM Y3UohZ0/KLUG9UenSlc6WGoQgUFtS9HPxiUNZ13skb09NgA6OIfzNLrxQynGjinm4XgIG UC0jfWkIPlei0BD0wN0x1AnET4n+bdKKYuYVON4ILSApjQ+00YkxRfkP2OkHybwOefSWW hCD9SYvn9Fppzf7TAoKLquOaROYih6tSx6AhqKfF0pHglnAKiyDbEBiJ1l7a8LyHSyUAN dWED5TjQnl4jEchyPQBW4cBhFgub3VTroHbh70y7sF4CperXiIyBa4RigK4imVFfL8Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793154413; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received: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=nPtXLhmYKu2MN1HqVNGXKzPAg4qEhpU7r/v/4I5Gcsw=; b=KK6EWyJWJhzYWeN8CWVOD9MEq4vMh3SjwvapWfMskd/a+d/3V3J6u2XVafgUoxwO5qm6 O2T5t3HBzreW8DctewKMr3z+jjKH6KkqsR4vXTNoZqV0huZn39HYoEriNJefWWj8I9jng bGIGdKxymj5p7WuSq2WwR0pvskgy4O1g4VHM6FQjvsCtMx08wSBe5S+wqfRgNlHqiaKV9 +EbHSyPTPbwRarUkgTG0jvf+mEqxJoTXCqIs+QpbqPbU+4VMeEURUHZMz/9MAKiM1nqai xLz6R3wALHH/8Fj7Lqg1JUIMQWVdJhTpZKdYV6fPKP4dkZ00Sqkzj7hGSlzN32Wyfwg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=VEDWLivC; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; 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 9191C606A323; Wed, 28 Oct 2026 02:26:53 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=VEDWLivC X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793154407; b=1bRznpN1rtNkKw467CvUX0BP3cUYgyH5lOUOoieNUHJazA9Wd+s1/0F5EL9oMbOjketI etCaVd85qnxbyynNrkNc6Pr4XdEwA4lyGkIFZAlfTDNaa9lIi+yHuXxnqvAJnoor4r3bc MmKfw5WsCVtND87D7YrxCocAio5rGksUDxrz/ECbXGhuoohxCxsxhpQxMUOWBWiFxNK9R UpXte4v4nXgOhJTZWv2YigbEhKXxYKKo0FRABs0ubzOpRHx+LPRfs8aSqe506CSR1acOJ NJ4593IMt5WxZTrQ2ssGXVVxTCo8VGhC8AG9uJ2/sX9czsedRkPUsF71wS0cVDuqCyw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793154407; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=nPtXLhmYKu2MN1HqVNGXKzPAg4qEhpU7r/v/4I5Gcsw=; b=ili6r6DySaLHWzAIgh2k3r2lG2H375RtfU3vhyG3w/LNas3R0I7nqiZCeN/uyeGzkgDx gPox0YOHl4ERQpoLgd/lPn78/jz7k6s+GG1cF6qoiyOiXa3Hqh8U3IXBprWfHBhKbJXBQ RRz8vv+STAs2JZrBahlZfm3FeBI+7U0N5zQEqrTJXocAV8sypE9pFJ/CnlgXUYFa75uiu SuKghskSrZEJT9iIZGGw79f/QxW0wA/R/vmZr+kNMUvydt/w7Pg0qaySx9OirmUwmvLZ6 yzAwYCz/a4qQB2v8GyqJuwx7+ioPv4YRH9czSUwHUXwzTuR6FOhMz2mlz07LKjBnarA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=VEDWLivC; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28753606A31E; Wed, 28 Oct 2026 02:26:47 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 28753606A31E X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=nPtXLhmYKu2MN1HqVNGXKzPAg4qEhpU7r/v/4I5Gcsw=; b=VEDWLivCoqhxBjJLnnm14TEPWp COR2QNe350SBN7ngS9ca47m5qquhREyv6mzRKL+WbB4zC67Pm96/qcSlpdnIfWZ4se8X7lrJLdAIp JLyOynqzySu/jv5BmF15h8rEn14Yxs2ASxRzT1T0t8F7demXZgLsXVhnrMbQbLpVCinM=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xLtMz-00D2sQ-Fk; Wed, 28 Oct 2026 03:26:29 +0100 X-Cc: netdev@vger.kernel.org, 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 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: <20261028011317.1557238-7-cjd@cjdns.fr>