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 18B3FC433F5 for ; Thu, 4 Nov 2021 13:42:52 +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 3CE8661108 for ; Thu, 4 Nov 2021 13:42:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3CE8661108 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 47CA3836AC; Thu, 4 Nov 2021 14:42:49 +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="oqVjzCbl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2F516836B0; Thu, 4 Nov 2021 14:42:47 +0100 (CET) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 8DCD4836AB for ; Thu, 4 Nov 2021 14:42:43 +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-qt1-x82f.google.com with SMTP id x10so3664868qta.6 for ; Thu, 04 Nov 2021 06:42:43 -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=FpOMFLVcbXRDNbiuAPe1ThF/T5oWJGhB/7XWuowt+N4=; b=oqVjzCblcYyZi8XJffVEYWFdxc8ZSuf9Kz/sreD/okHaSKxZZhvS8DlNquVuDGVy8b ABFt/ZiJPjlBQ5a/cjTtVlEsghTcW/6o30hM0gWw3Mo5X0AeYzh/265Qb81z0sEXidlB 2Cplp2+oKr8o5n/ONuEvNZSA4e3QUboqU6W1o= 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=FpOMFLVcbXRDNbiuAPe1ThF/T5oWJGhB/7XWuowt+N4=; b=Asd6k8NT3IAgh4LPj1St4f0rIWVaBHOhuXL8yP8YPEOw6+MZuqHfR0esufLqDxnTzF +OOq6pQa2p7qPZ7Zu798cRD/yC2M/GMOOZOcV15Dr9YqH3FV1GVP/7f1zshaGoy6YnQz ldmEC492OAXL9RebpxzVK9FrS3sOct37e65AyYsfmGazCQWGAz5X+83gXXUiyZEN6U2C zXv/CFNY0YhIttXaz5mGIz9Qp+A2r0f0StpRvGQ5FLnDuVb4C0UxqrOwTZvOplYiuP32 m4Ni23UJE4PIPT4cpY3U7zO/yMEt7Epv66uWoQYaj1MJFGJ4ehzo2lb1tQR8c8L6cZah QUZw== X-Gm-Message-State: AOAM531yALFjapjEURp7UgsR6x6BNR+ofufSdku2cH3noFsWr209d2ep wfzhVR0nyqDy/HAjk7+Cwg7beQ== X-Google-Smtp-Source: ABdhPJy8+frRXhNODbMw+lkB6mH0sqzN2izl4ydmQL4XUclCvUNEgPdzl42758ZmpThJdD22jy0FRw== X-Received: by 2002:a05:622a:1a22:: with SMTP id f34mr14054527qtb.17.1636033362149; Thu, 04 Nov 2021 06:42:42 -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 j8sm3907386qko.55.2021.11.04.06.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 06:42:41 -0700 (PDT) Date: Thu, 4 Nov 2021 09:42:39 -0400 From: Tom Rini To: Andre Przywara Cc: Samuel Holland , u-boot@lists.denx.de, Joe Hershberger , Jagan Teki , 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: <20211104134239.GL24579@bill-the-cat> References: <20211013020733.52574-1-samuel@sholland.org> <20211104131349.GK24579@bill-the-cat> <20211104134042.74ab5dc9@donnerap.cambridge.arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1etlzFEVDPCQxP5d" Content-Disposition: inline In-Reply-To: <20211104134042.74ab5dc9@donnerap.cambridge.arm.com> 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 --1etlzFEVDPCQxP5d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 04, 2021 at 01:40:42PM +0000, Andre Przywara wrote: > On Thu, 4 Nov 2021 09:13:49 -0400 > Tom Rini wrote: >=20 > Hi Tom, >=20 > > On Tue, Oct 12, 2021 at 09:07:32PM -0500, Samuel Holland wrote: > >=20 > > > 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+ boar= d. > > >=20 > > > Signed-off-by: Samuel Holland > > > --- > > > This change is needed for the Allwinner D1 Nezha board, which has > > > incorrect hardware straps. =20 > >=20 > > 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 > Many thanks for testing and the report. I will have a closer look tonight, > I should have quite some boards to be able to reproduce it. Ah good. And yes, good news / bad news, this board is now in my every-PR local CI HW loop :) --=20 Tom --1etlzFEVDPCQxP5d Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGD40UACgkQFHw5/5Y0 tyzo1wv9E5UXz+++J21d1rfxLBZnol35dz9ZHxuGxJo1FRpcJh0dtQ4rU54jEVRR l1tJP/RGTo/A0kOWTRscGD5KPuPeli4ua1HTFERdhBXRY3KHQx7e3zdY7qPPXJjs uWl+Dx3g3i/MJNLoAMyXDkt5ELCwkoNUa8Xmoyv2YWMAFYaMZC78rU1y5Xx19B6U D7HBno6L6W3VJpfdyN5HlN+kVfh8CO6ccF1+Gd0tMhrZxleNOfDkzx4lZ5QXO7TH dDG//xcS4jrkBnExYjLFhAmUKu4Egj3j07uQYTyIBn8TcLD1uJjSFzGsO7CnueqW ihAicUGIAa+cSXIAj9ot6SW09A8ZcmCdoGb9NQ9NHfekXqgQSMLLNnUwqR4fDf9O EhWGMj965lfgAFuA9zTxp5FCSvDc3jWbRrZ/2kKDUPz5yMcJ2GIySHS4Av4oIexh /m3pP16ok7NAkcHrkT45uq0plEgl88txZUExpiXiUFf6me0rqNcFXdrPIiV10Iw3 ivXo3Cdy =1IYR -----END PGP SIGNATURE----- --1etlzFEVDPCQxP5d--