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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 485ECC433F5 for ; Thu, 4 Nov 2021 13:14:02 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FBA961058 for ; Thu, 4 Nov 2021 13:14:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3FBA961058 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CB2D28368F; Thu, 4 Nov 2021 14:13:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="YIAq3F7J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ACB88836A6; Thu, 4 Nov 2021 14:13:57 +0100 (CET) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 817F483216 for ; Thu, 4 Nov 2021 14:13:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf35.google.com with SMTP id bu11so5239162qvb.0 for ; Thu, 04 Nov 2021 06:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ONQQaiDyRWPJ+VyHGRXp5+KMJQ6MrBBysijRdvYset0=; b=YIAq3F7JL3fFuGE+dZbiSZEKTY0qetxM70keJKw4UoLiPKm8mhwvDDgrzrr5ezKdpg h8rLzxRCMy+2eCDyKS22fJwaSAZ47gdDr+wGci/ve9Nm+U2XDSr9XG8PK+zX/8U/S3p0 E6BtvS/qYd3q4bYRNMhyC9C87RxZnb7GdP32c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ONQQaiDyRWPJ+VyHGRXp5+KMJQ6MrBBysijRdvYset0=; b=eKWn4QMG7FPymFPKItrn0y2/HXAU4BCBF6ok7kP5mSvUbovWukPQy4zVOrY8X3Up8g eZvwAUPyBXtxxvhU7feb+yHFipUqb8R/KVxnSGAL9t2iSg2Z+vFkkRvRRHe9Cjx89tuV M3k5iF0/jLtR8F1CS3czKd4LYm7AsYR5psAB+pzgdcOgR1A3g9ghql7IQ8iVj+3WrdgF Ggr5WT1gIc81OUQte8ngPjO4Nref+jE9lLeu6MuVKw9CUYOHe8+YGosEqX/+2rLm4++9 yX5QsGxA7iC1kih1qfkrNCiV+B14LebRqS0xfpQhYpd8Div0G1UZ6k+qCquVvVpuTwVx 0A0w== X-Gm-Message-State: AOAM530a4+OwWFCJw9zIuphGEtjbjTnMb39hx3nPZBTQitox7PGn1hEu nLVErwftncN4+piO/r/biZUz8w== X-Google-Smtp-Source: ABdhPJx/cUjmBPZS52eciABioU/H5PCuchTjFtv1jyQ1n1nUw+s2S0nUHwRFf4j3TYYCDIZWwkskDg== X-Received: by 2002:ad4:5e87:: with SMTP id jl7mr38562017qvb.19.1636031632298; Thu, 04 Nov 2021 06:13:52 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-e134-a4dd-2b9a-4388.res6.spectrum.com. [2603:6081:7b01:cbda:e134:a4dd:2b9a:4388]) by smtp.gmail.com with ESMTPSA id bs34sm3551024qkb.97.2021.11.04.06.13.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 06:13:51 -0700 (PDT) Date: Thu, 4 Nov 2021 09:13:49 -0400 From: Tom Rini To: Samuel Holland Cc: u-boot@lists.denx.de, Joe Hershberger , Jagan Teki , Andre Przywara , Abbie Chang , Bin Meng , Kuldeep Singh , Meenakshi Aggarwal , Michal Simek , Priyanka Jain , "Radu Pirea (NXP OSS)" , Ramon Fried Subject: Re: [PATCH] net: phy: realtek: Add tx/rx delay config for 8211e Message-ID: <20211104131349.GK24579@bill-the-cat> References: <20211013020733.52574-1-samuel@sholland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oZv4yqUxWy6Z3hn+" Content-Disposition: inline In-Reply-To: <20211013020733.52574-1-samuel@sholland.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --oZv4yqUxWy6Z3hn+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 12, 2021 at 09:07:32PM -0500, Samuel Holland wrote: > Some boards need to change the tx/rx delay config in order for > gigabit Ethernet to work. >=20 > In Linux commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx > delay config"), Realtek documented the bits for overriding the delays > from the hardware straps. >=20 > Copy the logic from linux, so the delay config is set from the PHY's > interface type (the phy-mode property in the device tree). >=20 > This removes the need for a one-off workaround for the Pine A64+ board. >=20 > Signed-off-by: Samuel Holland > --- > This change is needed for the Allwinner D1 Nezha board, which has > incorrect hardware straps. OK, so this breaks my pine64+. It's the 1GB memory model from the original Kickstarter with an 8211e on it. My dhcp just times out now, with this applied. Let me know if there's some specifics you want me to try for debug or talk to me off-list and I can try and setup access to the board for you. --=20 Tom --oZv4yqUxWy6Z3hn+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGD3IkACgkQFHw5/5Y0 tywj/Av9E3xJ7vJvkIqkLUsxelAfyvIc/cSeMTl+CMK5gV5E6gskV7Vj7e0vYQei uck+w/3i+mLIYGYlSq9RJIr7KfefH65KGj0ghYOGHSbtwBWtoiqMWM8WbPf48aUw FwX+fNzILA7VETv2lcOhZWy8ziaAgACSvvvtNqffOSupVkMO+zvJzsgRh8XPphmP kSOJpYx5Vg7ICGURqyhM+mlGQ+VbArJBhFrKunNTUnrU1+OM60wneSoRPAswEmSa Fv7f+1+w+T4wGRlmtw6aqb9KN9wp63mgTjFwmBUuAigWiuX1KpR/BJTdsiGpbgol Q1kJYj1k1FDlBjR4hrgowtiY0Ob+Wss1S6SIv8I3cTe/NcNF3CxQVlYoPc6MIiJ0 dl0WHne6vJhbaEh7ZowBwJk85cEUpds4PHtLC7i4Mn6/3x/rrwCBzEcXOzljgIIH YvBlI9babmHufbYfMAVewEz6DtGJczNxFrqDoW7akQcRdoZhRNdALVzjnKzYqzpn E+n2MrKQ =bQDB -----END PGP SIGNATURE----- --oZv4yqUxWy6Z3hn+--