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 2FCE9D262AD for ; Wed, 21 Jan 2026 01:30:18 +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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FQpJOlofPZctrvlPYbWRrvnUNaKlNJ7TgFoWo1GIW78=; b=p55Xm2veWcb4Up B6C19klOsM7fNmB276cbWvZPJxqADe1HKElCh5nLbFIBiD6Az2XFBteRj+YtlDEFmhPkyIfbUOX9L SRlVjW04qsy2cd5N7ji1fta9UTe74UkAdx18HOYoXattDch62/NPLAxXl0MN3SLfecqF5DQR4K/SA YBCndSHrF98QpTf3+TIVeRv6HANNpocwHgBkUhs6CoGCgwcOIKPKi6BOCzgDs6Ft26OFytEebGVrP egWbhsOeiGcHfxOdbYsrjxqNxAShqv2TwkZKk2+MEE2Jy8LgZTazFkV45wSfWMnWz83u1R6wIVZrC AbLtPle+8DxgCO+MxlgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1viN2q-00000004i4o-0PXt; Wed, 21 Jan 2026 01:30:04 +0000 Received: from vps0.lunn.ch ([156.67.10.101]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1viN2o-00000004i47-1UfA; Wed, 21 Jan 2026 01:30:03 +0000 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=BDOJWUmdk5su3pn932MroBf+XrhEzSL8mJ7nZmaOaZY=; b=YMq82IemHhQwH5ZmuAYjfxC2ca SiARZTjIS9ursQLhJulw2hwL2pS9h8JGcdqkhS5tzb73fNnp+WPXGxnC84w8j98KyuLvs4SzlC+1a KFPU2ljW13NNkUUIyxAh+nJj5WIIU+BtsAuiYoKCLAQ3cVDhElltuenA/diVPsOkYdvw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1viN2B-003lN7-E1; Wed, 21 Jan 2026 02:29:23 +0100 Date: Wed, 21 Jan 2026 02:29:23 +0100 From: Andrew Lunn To: Inochi Amaoto Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , "Russell King (Oracle)" , Yanteng Si , Yao Zi , Vladimir Oltean , Lad Prabhakar , Choong Yong Liang , Maxime Chevallier , Chen-Yu Tsai , Shangjuan Wei , Boon Khai Ng , Quentin Schulz , Giuseppe Cavallaro , Jose Abreu , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Longbin Li Subject: Re: [PATCH net-next 3/3] net: stmmac: Add glue layer for Spacemit K3 SoC Message-ID: References: <20260120043609.910302-1-inochiama@gmail.com> <20260120043609.910302-4-inochiama@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260120_173002_396616_9B98BE23 X-CRM114-Status: GOOD ( 15.88 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, Jan 21, 2026 at 06:36:01AM +0800, Inochi Amaoto wrote: > On Tue, Jan 20, 2026 at 02:56:26PM +0100, Andrew Lunn wrote: > > > +/* Note: the delay step value is at 0.1ps */ > > > +static const unsigned int k3_delay_step_10x[4] = { > > > + 367, 493, 559, 685 > > > +}; > > > > Am i reading it correctly that RGMII delays are limited to these four > > values? > > > > If so, please add this list to the DT binding. > > > > No, these value are just adjustment interval, and it is also > controlled by another code register, the final delay is calculated > by the following formula: > > delay = delay_step * delay_code * 0.9; > > So the delay configuration needs to be calculated instead of > directly assigned. O.K. So what is the actual range? Can is do 1000ps? 2000ps? 3000ps? Should there be a basic range check to avoid dumb typos? Andrew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv