From mboxrd@z Thu Jan 1 00:00:00 1970 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 F20221AA795; Wed, 23 Oct 2024 12:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729687356; cv=none; b=brO2p04i0imrsiuEMgh0bhTotthsV3CQlBH/9J6yOHwy1Usuj3dT2VDAD63SNbUYyV+Y1niSNfwR3Q3rs/GtidZf5uRqas0/utQWaWYE99TyR5Tx+LVuFYUO/ksANc9DSAM/Ab9zV39WONbw+aH7uXxUHZMVWaGsbQ5dGCQ/Sbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729687356; c=relaxed/simple; bh=8FMQ2U+Yx5+4JJKuH97KbfWiDSrVmukhFmnAsljLTQo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UPFuHg5UyT2yDw5TuzEKxTpd2lxcNFOGnemJh7Qqm1g3I3Ef24NX70AdI7R8E/ozrp3wa2dyxaxLxbtz9sGSbyu2Jk6p7xs8OKhNI7YprDJ+JmjxTgjBOd4HtT2I497+uubyUcT/OEuGSRDSCjgCYGco6Cb+BHldMSjqgxq9qCM= 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=W1xL2f/0; arc=none smtp.client-ip=156.67.10.101 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="W1xL2f/0" 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=ECkcLoi6nvRMZ6z485UUavRz1TW3AZP1oqqzMx62oAc=; b=W1xL2f/0ZkdIvu3RBvN4VPj7s8 HWt25pPkWMTIeb8bKcnp5OzNWA++tl9VhjKT8RWGaFy7Um+O7/tUkG3clzs+mRlae+X3em5cuzPtq ld5s5T9R32kTtlewbDVrG+876rR8aV3XkHGKs2tR2LwwMS01GKyGXeEN/W7MS+Zs0g90=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1t3agq-00Axlr-AW; Wed, 23 Oct 2024 14:42:16 +0200 Date: Wed, 23 Oct 2024 14:42:16 +0200 From: Andrew Lunn To: Inochi Amaoto Cc: Chen Wang , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Inochi Amaoto , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Giuseppe Cavallaro , Yixun Lan , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH 4/4] net: stmmac: Add glue layer for Sophgo SG2044 SoC Message-ID: <79f9b971-8b3f-4f31-ab42-42a31d505607@lunn.ch> References: <20241021103617.653386-1-inochiama@gmail.com> <20241021103617.653386-5-inochiama@gmail.com> <227daa87-1924-4b0b-80db-77507fc20f19@lunn.ch> <65720a16-d165-4379-a01f-54340fb907df@lunn.ch> <424erlm55tuorjvs2xgmanzpximvey22ufhzf3fli7trpimxih@st4yz53hpzzr> <66f35d1b-fd26-429b-bbf9-d03ed0c1edaf@lunn.ch> Precedence: bulk X-Mailing-List: netdev@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: > Yes, this is what I have done at the beginning. At first I only > set up the phy setting and not set the config in the syscon. > But I got a weird thing: the phy lookback test is timeout. > Although the datasheet told it just adds a internal delay for > the phy, I suspect sophgo does something more to set this delay. You need to understand what is going on here. Just because it works does not mean it is correct. Andrew