Article View: linux.kernel.netdev
Article #8305Re: [PATCH v3 0/7] net: dsa: mt7530: support EcoNet EN751221
From: Caleb James DeLisle
Date: Wed, 28 Oct 2026 16:33
Date: Wed, 28 Oct 2026 16:33
78 lines
11502 bytes
11502 bytes
Hello Christian, Thank you for testing! On 28/10/2026 17:03, Cristian Papa wrote: > Hi Caleb, > > I tested v3 on a TP-Link Archer XR500v v1 (EN7526G: on-die switch plus the > MCM gigabit switch). > > Setup: OpenWrt with kernel 6.18.44. I took the four mt7530 files from > econet_eth at 3a8bcd2e6398 (they contain every line added by 1/7, 3/7, > 4/7, 5/7 and 7/7 of v3) and booted from RAM over TFTP, nothing written to > flash. > > With the DT from en751221g.dtsi in openwrt#25330 (MCM "econet,en751221", > no "mediatek,mcm", dsa,member <0 1> on the on-die switch and <0 0> on the > MCM): > > - 18/18 boots: all 10 TRGMII lanes found a window, no "calibration > failed", "TRGMII inter-switch link initialized", DSA tree set up, ping > over lan4. > - The chosen taps were stable across boots (+/-1): SoC->MCM 15-22, > MCM->SoC 27-29. In the SoC->MCM direction the window always starts at > tap 0. > - 6 of those boots ran iperf3 for 6 s each way through lan4: 0 RX CRC > errors on on-die port 5 (~1.05M frames) and on MCM port 6 (~1.29M > frames). In 4 of 10 boots MCM port 6 already had 1 CRC error before any > traffic, probably from the calibration; it did not grow. > > Following the binding in 6/7, the MCM does not come up on this board: > > - "econet,en751221-gswitch": mt7530-mdio.c in 7/7 still matches > "econet,en751221", so nothing probes the MCM and there are no LAN > ports. Whoops, I see I made an error on patch 7 and did not update the name to "gswitch", I will send a v4 soon. > - "mediatek,mcm", which the binding requires for -gswitch: the probe > fails with "Couldn't get our reset line", since nothing provides an > "mcm" reset yet (the TODO in en751221g.dtsi). Also expected as setting "mediatek,mcm" requires specifying the reset line, and reset for the MCM is on its own unique register and is not yet supported by en7523-clk.c reset controller. The OpenWrt implementation is a bit cheating by not bumping the reset line at all right now but in my testing it was not different when I manually bumped it so it seems okay for now > > So I think 7/7 should match the new compatible, and the binding should not > require "mediatek,mcm" while there is no "mcm" reset for the EN751221. > > Not covered yet: cold boots, and the other LAN ports beyond link-up on > lan3/lan4. I'm happy to give a Tested-by once the compatible strings line > up, and to rerun anything you'd like; the full boot logs are available. I'll send a v4 and I will synchronize the PR on OpenWrt to it so you can test easily. Thanks, Caleb > > Thanks, > Cristian
Technical Details
Message-ID:
<c157df9e-b70e-4ba6-b808-5d13379b762e@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-352943-linux-kernel-netdev=dewy.ruReferences:
<20261028011317.1557238-1-cjd@cjdns.fr> <20261028160353.4239-1-pcristian292@gmail.com>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-352943-linux-kernel-netdev=dewy.ru From: cjd@cjdns.fr (Caleb James DeLisle) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v3 0/7] net: dsa: mt7530: support EcoNet EN751221 Date: Wed, 28 Oct 2026 17:33:14 +0100 Organization: Usenet Network Message-ID: <c157df9e-b70e-4ba6-b808-5d13379b762e@cjdns.fr> References: <20261028011317.1557238-1-cjd@cjdns.fr> <20261028160353.4239-1-pcristian292@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="1813980"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:nC/J0JuqHlNyLM0rTDAxMzi3+QY= sha256:vTHiUBoGD8fCgbbdjBU1ygYvqLtFT1jQC2Hq1XzQUAw= sha1:Iv0uzxXKgpuclK+YLjyESIm5JXM= sha256:nEv2jwzVP2RL6fDlUF+/xXBajWohOhw+aOecbt7dLx0= Content-Language: en-US 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 BCBC0125C42; Wed, 28 Oct 2026 19:34:36 +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 n0FVyoVHmSg1; Wed, 28 Oct 2026 19:34:29 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-352943-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 B5D3D125C3F; Wed, 28 Oct 2026 19:34:17 +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 B49BC260AB; Wed, 28 Oct 2026 16:33:39 +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=1793205219; b=2+kq9qRGWolnFxSX7r/jcukbs4fYAh+hG+W1+zsCZQzWruJk4Z++XAx8mUGLZwKathCO aNALiKBLuyyXrXj0UQIZYZTm1Njxk9zqL2lzM7/0iZ+a9vEyaOeHY/NyMVqvdWt7HenNQ vYeap7S7VYLCSSlN1goP6VftSHcjPWie7Y8xvcrPRY3ukictO6aPgAsl/LmADFPpPZ0EW vPuJeNCO5dPUuUIDLoxFdB3/xbs21mCQa0uxs4+CzHk2pP2bOuXkRRc5VURbwbCi0sXq4 ok9FP8T+iMgHzp1oHc1+NGUgXB+rpsMoeT75uBhVwmvRx1oRbcGeP82OTP2ZPYmJdfg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793205219; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=F0ZbMX9EeyLfy26pKyFOUMN1PmtyM/y56Mw7EBfzcA0=; b=iUqT53pLbEw3+5cRdtdZuuiNo5oslpjoaQmDUDDPGhABcVv3YyxZ7bE75lutf8hwtN3E LABopEP97//nTBR9sFm9iZ6IsJ8CEHEhyDaDuyLWPt38kJ/Bjvkn1VBLM3JITbQc360NH 2mSH3Bbj4gpTjsEiKzfxKvis9CVy88MztyLwxuw7frrHzSCtMM624z/y/ETamdel5TaT9 z0AYxZEi4sBUyqVxLU0/LdUdB46Fo/CmV+M4Sfe+az+P/ivR+sSbJbazqhzm5g7x/yioW 8q11syxcIMEby4bMt5PJq7pTn30s6Im9LTb9yiYWqkdFIS3EsWjrqSCz9NQkd9Bz8gg== 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=S4vN2VHf; 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 8C3BF606A31D; Wed, 28 Oct 2026 16:33:39 +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=S4vN2VHf 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=1793205210; b=cArC1qmIzXZwwj7waPYAj2qlvm8DjSfueWe5+K8A7Nc39vdI6NgJzIG30trsN/pWaDID N0p2pQeGr88e8ykIRN65kVsp2OAQElKBZukqGRQ1OXiLJ03OLR3oDUjY0Y/tmjOsU8FPh ZzSKLH6gSV7GvTKQUYFImWYMQQtsXxX48z1uLCF9wbNQUJRvKlEE/MLBh5Y/UUWiUR6lT 815pO/A9my1mPh0cHeEv5HQVvazpgskZjGiPS68zsA/wUHSZ2u3LZYUwL0ZZQQhrpwGGT 8IfUcpMcheu0TgaqkzF2rM+4tUfOWEYPKXyr2k1esFrpr48Y+Qm75cyAo/FA8laSiwA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793205210; h=DMARC-Filter:Received:DKIM-Signature:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=F0ZbMX9EeyLfy26pKyFOUMN1PmtyM/y56Mw7EBfzcA0=; b=XmAumylBJUL8NKaP9wxgiBzLFjtXXUboy3ohe8mO7iJk21zxpubmUyib0ol49V/jLn69 dqeKhxrkD94o00UWwJbeb1AWsgynJ5gDTqjXjpPbS2OhYKf1bB0k0WqcMliGek5BjJh9g VdhWUN1ea59+hFqHCR63te7mfTU9c1cPQKtWjo2amP4b5YtlZqaURbjLsf0b11WMSq2yU rOt46Mj48afeKZDW28ffT+py7vUBYxuFkfHeCdrCd6LPZyvuXvO68EhC0s5seqFT0Ab0I Qg4ShEZ1uB7kfaJnoMZ8DwP5i3t+pptHQHeEUNv+olo3n9m1ecuvvsodsnUm1mEWOXA== 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=S4vN2VHf; 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) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DC59606A31F; Wed, 28 Oct 2026 16:33:29 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3DC59606A31F 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 B7A2A167136; Wed, 28 Oct 2026 17:33:16 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjdns.fr; s=dkim; t=1793205206; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=F0ZbMX9EeyLfy26pKyFOUMN1PmtyM/y56Mw7EBfzcA0=; b=S4vN2VHfYH/567vYQXf/ucDXOnWMiJ814HImMPur7WVAj5dxDevqFvw2rsuChHsm9izAVd DUbVFVZj7+uNVf+2gb/gRrTrMsbNDzVulLQz8KpmCsGB6xDV6Wx4uKhvgLE6xiZw0z1QI5 S5t2G08BYUDoSLTfZHkE74XBJkp0G0/2FEmJEGSSMYAPVXi+uN8UbvKFMcwLXX49Zqq4MJ x9HxNYW/Zs3D0HILWMbXAb3BLQaWDx35BT3Un2+SRVji2hrZw56h/YACqwfBTln3un7jRj OF2piLTzT/wYcYIFAL8IYDht5/iF3+0JKyZK1PiupBn9mjI5vvEiL4ExQB7Q8w== 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-User-Agent: Mozilla Thunderbird Beta X-Cc: netdev@vger.kernel.org, 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 X-In-Reply-To: <20261028160353.4239-1-pcristian292@gmail.com> X-Last-TLS-Session-Version: TLSv1.3