Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp366797rdh; Tue, 19 Dec 2023 01:00:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvhIqdmDNWOqc5INIhYv/x236duzqNQp+aBiN5HpGT/mDHGVF0qTMsHR6WPDdCzBgGMEV2 X-Received: by 2002:a05:6358:5912:b0:170:d431:7e3b with SMTP id g18-20020a056358591200b00170d4317e3bmr17557208rwf.8.1702976448634; Tue, 19 Dec 2023 01:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702976448; cv=none; d=google.com; s=arc-20160816; b=Z5aWCnngIjMyIQBFe9vU20qCVIAuqGUxzJbkb80DGkhmK+tk2aDtmaGwVTsPKhj+Ap bwFUw8PTuwR+AkgIko9zvsmDdQPihu9B1llg/9cuSyyc4f4/xVEGghMWTDN1GpUkaOvy 0G97uaHn9Q/+MijFFr68RDcQrQDdTE8RkmR0tgsxFTE5P+gOvAfujFUakM76PpXeythR 4lMHZSB8VaGBDNks8NoyuE/FhWb5KbUZnjA9ZjTqy8FYBXKTd28MHkHQcEkNGDaXwlc8 RsTIVpVEVS/ZiNJiHHyGxyYIMtcnSSSSJKE56OcSniyrtPaUzD7P92mR/cmSZgIiNn/H KOjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mApDO3T9Xz1helbAZSFet16out2mW7MWySk8mjZ5wDE=; fh=5wIv+DIjlcTBYGVeTO9MuMad2PKXbFU6sdoSK1yOqO0=; b=gAhQsBT5LQHviwW0KRN4CslG31vlfuwmwox0ExgIbiNHiG70C6IiN9RdXissh5snne PgoFe1k7/6an5AP3VcIW9YCCYLLOwPBY8rlk9C2lg8dJpkOCxE2GIH90ADBTjgEzIt18 ijjQyFVdvZx523L3sIeRv1p/z7YzecK4fU6tCjquNtmYWoFW2vmJpVWinWggB5rVKk6e cQx9rGfKgftW+vqtz3NZtK2sRGXmVA2/2WTy+OYocJFeeoFxt9yMTBg/KIkJClc/0Nlg y+nAjaC/WKZYSGRJYz+OYv8Y7sKFYLTbHMKqOjUCzsRqJ+oba2BuCvr5Mrjm4sMAxfCY P1LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=kZwHzqjK; spf=pass (google.com: domain of linux-kernel+bounces-4930-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4930-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q6-20020a635c06000000b005c67196cbf5si19616315pgb.330.2023.12.19.01.00.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 01:00:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4930-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=kZwHzqjK; spf=pass (google.com: domain of linux-kernel+bounces-4930-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4930-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A079E28196A for ; Tue, 19 Dec 2023 08:59:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B75CF12B92; Tue, 19 Dec 2023 08:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="kZwHzqjK" X-Original-To: linux-kernel@vger.kernel.org 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 C3DA7125B5; Tue, 19 Dec 2023 08:58:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=mApDO3T9Xz1helbAZSFet16out2mW7MWySk8mjZ5wDE=; b=kZwHzqjKiWEgoZn1veK4cqHCKR SerS327V6zs7qE4E6zPYWmsCCljxHbsbPRP8PnWbjTURrTEHbkjZ8o2iz5NzhD8JA+Ff7VkMuDU7y IuyEa1zVHU6FlNhAMzyxTvwbEkuOczsw1MpSllM/sbokb9AG9DcNbi1v0/8T47H9dxsI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rFVvb-003JjA-OP; Tue, 19 Dec 2023 09:58:15 +0100 Date: Tue, 19 Dec 2023 09:58:15 +0100 From: Andrew Lunn To: Cristian Ciocaltea Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Samin Guo , Paul Walmsley , Palmer Dabbelt , Albert Ou , Hal Feng , Michael Turquette , Stephen Boyd , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Richard Cochran , Giuseppe Cavallaro , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com, Emil Renner Berthing Subject: Re: [PATCH v4 6/9] riscv: dts: starfive: visionfive-v1: Setup ethernet phy Message-ID: <962691a4-993d-44c0-861f-d0fd5bbc2da9@lunn.ch> References: <20231218214451.2345691-1-cristian.ciocaltea@collabora.com> <20231218214451.2345691-7-cristian.ciocaltea@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218214451.2345691-7-cristian.ciocaltea@collabora.com> On Mon, Dec 18, 2023 at 11:44:46PM +0200, Cristian Ciocaltea wrote: > The StarFive VisionFive V1 SBC uses a Motorcomm YT8521 PHY supporting > RGMII-ID, but requires manual adjustment of the RX internal delay to > work properly. > > The default RX delay provided by the driver is 1.95 ns, which proves to > be too high. Applying a 50% reduction seems to mitigate the issue. > > Also note this adjustment is not necessary on BeagleV Starlight SBC, > which uses a Microchip PHY. Hence, there is no indication of a > misbehaviour on the GMAC side, but most likely the issue stems from > the Motorcomm PHY. > > While at it, drop the redundant gpio include, which is already provided > by jh7100-common.dtsi. > > Co-developed-by: Emil Renner Berthing > Signed-off-by: Emil Renner Berthing > Signed-off-by: Cristian Ciocaltea Reviewed-by: Andrew Lunn Andrew