From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A69A7D2ED10 for ; Thu, 22 Jan 2026 01:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zDA0UAGeDcENG94RgUwMHxJNwW1XMfMJLXHB9xZeWg8=; b=BMyNLKOhFwoZZx /TkXRVArZ2pcmFmwFQ5gX1MAvHR+z3z4XnU4BW+Fhsbb3T5K0MX1JAC9DvupJ8Y7lN2NIIk4fBT1e FP40oftO5e5h/LJjIgCd0q4U9d1to6BDFdbhuv6prkrOywCLtOLEyql3h3YDmltaMUV7zSaeCsCpA w2DL5Nq2bnSt9gjFzEKV3oSq6eVDeTU2HtrTmr4LAXGE8RCdybn0GsBxtSQn2+2UCIOD+u2O4EWsN ZcvtVvf3Lx3IC4oNbT+m4oIYQUnEK6cKVUsg892tL4EvdC2hqjvNckP1P3S1nolxxRDezIo4BJyYu IrpGweBqINGm5SC79OEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vijk9-00000006HY9-2qI0; Thu, 22 Jan 2026 01:44:17 +0000 Received: from mail-m49215.qiye.163.com ([45.254.49.215]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vijk7-00000006HXb-1csn; Thu, 22 Jan 2026 01:44:16 +0000 Received: from [127.0.0.1] (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id 318437bb3; Thu, 22 Jan 2026 09:44:11 +0800 (GMT+08:00) Message-ID: Date: Thu, 22 Jan 2026 09:44:10 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] arm64: dts: rockchip: Change gmac phy-mode to rgmii-id for rk3576 board To: Andrew Lunn , Chaoyi Chen Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Alexey Charkov , Shawn Lin , Sebastian Reichel , Andy Yan , Nicolas Frattaroli , Detlev Casanova , Stephen Chen , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20260121031548.402-1-kernel@airkyi.com> Content-Language: en-US From: Chaoyi Chen In-Reply-To: X-HM-Tid: 0a9be35f986103abkunm2cc02e0dab60f X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGk8fSVZCSx5CSU0ZTktMSEhWFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSU9PT0 hVSktLVUpCS0tZBg++ DKIM-Signature: a=rsa-sha256; b=e/1/N/h6wrnqA7VHwQI73Bv34Hxa4/97ZmtUIfQ98i+pN998XA6ELUU5l3UrHj0OtN2BVxucSQZnHneR/br2JWwSE3OPwK/ati9o9WrghKL5I6wF94M0lxfFLcSQGYTLNIWk/7d2Rk3YzVRq4Md5rNnxD8qN8B2H+YLJjd2afoM=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=xepetMOANOmDjgKxqlDl2/kYrljTtdNa/MYCm6NNH4g=; h=date:mime-version:subject:message-id:from; X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260121_174415_625169_3806D2E8 X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi Andrew, On 1/21/2026 8:57 PM, Andrew Lunn wrote: > On Wed, Jan 21, 2026 at 11:15:45AM +0800, Chaoyi Chen wrote: >> From: Chaoyi Chen >> >> According to the description in the net documentation, PHY modes >> "rgmii", "rgmii-rxid" and "rgmii-txid" modes require the clock signal >> to be delayed on the PCB. >> >> The Rockchip platform has long used the above mentioned PHY modes and >> private delay prop to describe the internal IO delay settings of the >> chip, which is inconsistent with what is described in the documentation. >> >> Some background, for RK3576, you can assume that: >> >> tx_delay_time(ns) = 0.0579 * delay_line_count + 0.105 > > Where did this formula come from? Is it in the datasheet. > These are measured values obtained from hardware signal testing. They are not documented in the TRM. -- Best, Chaoyi _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip