Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp246333rdb; Sun, 17 Dec 2023 09:55:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXCXtz82H6xC1RYB7U7VrwACRl+BRf2zCWYt1jR6tsPSUYnsdQ7VZK7Kbga7iG5w2EpRc/ X-Received: by 2002:a17:907:7e99:b0:a1d:3907:f5d8 with SMTP id qb25-20020a1709077e9900b00a1d3907f5d8mr4417295ejc.33.1702835756485; Sun, 17 Dec 2023 09:55:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702835756; cv=none; d=google.com; s=arc-20160816; b=PQG2VKEAgQP4NAUPGJefxNM0zpjWbkYytpRyUjzItt/NnTP/EfPckyx44wd+3wwHd9 kuhWbKo7Y4yBzRMnyxEoTNOq96KuHNbEqnqam51VsxtX/oXVbZSuOpu+uSa+GKH+pREF QJAXROP2X8aR3m+SEuxZtAZmwMHi+kmIls/lobOQkHzwVjpzucUMdMdY1wevn5kDBfgi KdWj0Jdbb978J9TsEytdmeHbXg92lufgVzajcDAkqkQnvI/ZkSzs9UDUtSLhsQG0fDq4 BGLnQmTWqKaKE124kmF5wWsr/q+DvBtrwbND7PDfUSdt+gRiMXwnW+/U7YFy3g5tHA/B msKA== 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=1BS2BYxI0fjRhDPFU1muWML+fVQMCFHH/gSfWLLCKhQ=; fh=5wIv+DIjlcTBYGVeTO9MuMad2PKXbFU6sdoSK1yOqO0=; b=CkpFhxtDQ8fjOcIRYAbDGPdsDTflmPs429FAiffYY8D54gbCQ3Mj8CscTdZySpxq4R ZCyAvz0YjRirb666/VzPycs7qpdkfa11cjCXS9FOgdAwDoxL57ulwikY+yIocvWeCOFg pq+9ccbWIuIHVzSMl1oLUMWwviX5u7y6u5n1M9uMFF/+u35gTK4zE2CggtJ8pkm6O8YV 03bAdVbJvFdayzSvI5CSGHI8FWDmH3RFdcnBS9Z456w6SV/VuqBbfxWTRjbEgUUiZFq3 i8mfGg5NGl+YaXyH0mgDErN+DJP26+WEl4cqMDKvasvxQnqA9loAu7Pxo1Pys7AXssBk aYBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=G2CLrRfK; spf=pass (google.com: domain of linux-kernel+bounces-2759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jt17-20020a170906dfd100b00a231ba29c6csi2336342ejc.268.2023.12.17.09.55.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 09:55:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=G2CLrRfK; spf=pass (google.com: domain of linux-kernel+bounces-2759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2759-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1A6A31F218AB for ; Sun, 17 Dec 2023 17:55:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8901446BA2; Sun, 17 Dec 2023 17:55:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="G2CLrRfK" 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 790C644C9A; Sun, 17 Dec 2023 17:55:39 +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=1BS2BYxI0fjRhDPFU1muWML+fVQMCFHH/gSfWLLCKhQ=; b=G2CLrRfKFu0XcBhesoEsUYs2NU fxQLK5S6970mi84T28XkFi+YuyqJFPT022Y931plnt/t9hTREG7bJHDkoTTpueHZrvzH0AXeKjvs4 1dg4PhWHBHJzsdJol+cswDkvxUHQBln5quFlcko9UOJOdTmZlClCwz2ZMsl45BJIVkeU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rEvM6-003AGP-QV; Sun, 17 Dec 2023 18:55:10 +0100 Date: Sun, 17 Dec 2023 18:55:10 +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 v3 6/9] riscv: dts: starfive: visionfive-v1: Setup ethernet phy Message-ID: References: <20231215204050.2296404-1-cristian.ciocaltea@collabora.com> <20231215204050.2296404-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: <20231215204050.2296404-7-cristian.ciocaltea@collabora.com> On Fri, Dec 15, 2023 at 10:40:45PM +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 > miss-behaviour on the GMAC side, but most likely the issue stems from > the Motorcomm PHY. I suggest you make a similar comment in the .dts file, just to explain the odd setting. Andrew