Article View: linux.kernel.netdev
Article #1203Re: [RFC PATCH v2 0/7] Add ethernet support for the Amlogic T7
From: Andrew Lunn
Date: Fri, 09 Oct 2026 12:13
Date: Fri, 09 Oct 2026 12:13
28 lines
7774 bytes
7774 bytes
On Fri, Oct 09, 2026 at 06:59:49AM +0100, Lucas Tanure wrote: > On Wed, Oct 7, 2026 at 2:01 PM Andrew Lunn <andrew@lunn.ch> wrote: > > > > On Wed, Oct 07, 2026 at 09:26:20AM +0100, Lucas Tanure wrote: > > > The T7 pairs a Synopsys gigabit MAC with the same glue registers the > > > G12A has, but nothing described it. This adds the binding, the driver > > > support and the device tree nodes, and enables the port on the Khadas > > > VIM4. > > > > > > Unlike the G12A, the controller reaches DRAM through a pipeline stage > > > with a gate of its own, sys_ampipe_eth. Nothing else claims it, so > > > clk_disable_unused switches it off and transfers stop. > > > > > > v2 changes the RGMII delays, after review. phy-mode describes the > > > board, not which chip adds the delay, so this board is rgmii-id. > > > dwmac-meson8b did the opposite, and ignored the *-internal-delay-ps > > > properties. Patch 1 fixes that. The VIM4 needs it because the RTL8211F > > > transmit delay does not work here. > > > > What is special about the RTL8211F? > Maybe nothing, it may be this board. I cannot tell from here. Yes, look at my other reply. The RTL8211F is very likely correct. It is the MAC drivers handling of delays which is broken. You get to fix it for this new device. Andrew
Technical Details
Message-ID:
<3a037c87-e4c5-4a4e-9522-cf505e1c6399@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-343622-linux-kernel-netdev=dewy.ruReferences:
<20261007082627.63807-1-tanure@linux.com> <d23dfdf3-5837-459f-afd6-6c198a05c13c@lunn.ch> <CAJX_Q+2au4x99kj=UBqn4joQCM3-D2kbaJ0zro9Y4RXka7ePvQ@mail.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-343622-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [RFC PATCH v2 0/7] Add ethernet support for the Amlogic T7 Date: Fri, 9 Oct 2026 14:13:24 +0200 Organization: Usenet Network Message-ID: <3a037c87-e4c5-4a4e-9522-cf505e1c6399@lunn.ch> References: <20261007082627.63807-1-tanure@linux.com> <d23dfdf3-5837-459f-afd6-6c198a05c13c@lunn.ch> <CAJX_Q+2au4x99kj=UBqn4joQCM3-D2kbaJ0zro9Y4RXka7ePvQ@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1099292"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Ulxbg+Cnb01kOvx+avxvQaMMN3s= sha256:E/0ReSQ2IHAYdyxPcoxbDYOJr2noTQnzT7T1JSwU86s= sha1:y/1beB2eG0rsLiIT57nlm4hRpgw= sha256:l7Chsn4/jTnc2HxwEeJMxK1PYzqGChh2qep4p77Zr68= 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 B696110F670; Fri, 9 Oct 2026 15:14:49 +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 (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 cAJuxXoVH7v3; Fri, 9 Oct 2026 15:14:47 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-343622-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 6BD2D10F665; Fri, 9 Oct 2026 15:14:42 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id B25112649D; Fri, 9 Oct 2026 12:13:55 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0441C3CF1F2; Fri, 9 Oct 2026 12:13:54 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="tzeHbJbf" X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 828621A2545; Fri, 9 Oct 2026 12:13:45 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791548033; cv=none; b=UqJhAeV93KL8/z+LCffZsJLxbB+QiF/vGXPmVWGTIy7LNaODDwfsPF3U/AHWTTNihfUb/NuLwb/QeiK86SpU6FlDQDCMx8ejMsbp0TOO+RXZP105CXI5wJG0vC1/2dC6zosk3j5NqktbvKai0neSduJKeVdp8cBBbpB/Zuu/9OQ= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791548033; c=relaxed/simple; bh=ZEOOr0h2KmQngFhv//6cIoONgVkd+R+SnXyQvfgJrlk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QGXqhe+z7Oo8ajGIFGGd9FSWaE/lpQuvkIXrLohdmYZq1GhXL+ASj/VH/HzUGi+a3J14lhlM+S7fTj2kZQZvSDemdTbMom7nDBoHjobFleRcDKXeaIiuR/zbbnxM6nv3CjAErXtvBTs4yooF3VeIwrsdmboAy+3REA8F1yCXJPU= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=tzeHbJbf; arc=none smtp.client-ip=156.67.10.101 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-Transfer-Encoding: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=iYqcn+lw0qC/zQadO5fheUsN/NkKlBYECjVpCgptZMM=; b=tz eHbJbfn2hJXhR7bctqrOQsxWGFsATvqH5M7FqEGjCw/KIWeIC4TlP70keu4PnxMShE7R1Ghh/x90I 4T5wSY81La24TnQgk+SKelca7e0mnBsktaMOF1VvENjiTXcdre/8LuPXR37vafMP1+H1RTzD2lY6Y X4HQUO3qpsENWVI=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xF9TY-009mY5-CL; Fri, 09 Oct 2026 14:13:24 +0200 X-Cc: xianwei.zhao@amlogic.com, Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Maxime Chevallier <maxime.chevallier@bootlin.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <CAJX_Q+2au4x99kj=UBqn4joQCM3-D2kbaJ0zro9Y4RXka7ePvQ@mail.gmail.com>