Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp356657pxu; Sun, 25 Oct 2020 03:13:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgWLi7yEGOceuzUbIE/pvoqRSaxGuryxQfcxY6rx7hT0sbQ4JSH/OPeU2akZ5vwvgcQ8Zn X-Received: by 2002:a17:906:3641:: with SMTP id r1mr10990492ejb.391.1603620820489; Sun, 25 Oct 2020 03:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603620820; cv=none; d=google.com; s=arc-20160816; b=fKr4NEhwYIoiadnQmx+BxMAFA9uaoGetOsY1uwUz/tveoXqEr5rjIod21At2kYgQHO vwnP7RDhy3qqBzXQC6pYd/hh1B1LgroVeqQtgTKemhkI3CF97q0RgjmMgEWkrEB9dB74 PRVGM9dNdWcpnaCxkJGWkhmRBgv+4k39+zwPtvJ3799kg2eTV3NlH1I87Pupi2YzmzzJ yGOUvSo/GtcYEns8Zobb62P9zK71mzWl0nTQKftzqUq777QUFmkoLosvwALtGHyJFcOz qFvy/0ZC7BK209SH5FM9RVyhCwKmJSOz1b5hL7C0nZIkDEr0tAioBWXdd75o5pBAVefv YyWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=emI3lxDXc4E5p0VaVGY1DY63IciKqnQGxUzSHxL7phA=; b=SJ/IXHw99SXj1dOkDx6Jdebm8omT2iTDT0Q0UjOSUXwMLp7VbYd+0yVOIRBntpKjx2 Vvr+nFYoQ1cVMo3e9LFELR90NgDVKNA0dnuGR1CJYjfbaw20eRmXXTgR3ruMsARvJ+S2 BPdexPkONLY5Q3oP1rmgsc6loP7nyMT9RiRn+kEx+sLPh50DI1tmgdHGvlx5uIsoi72g tdLLSQVfIw0tCdfjbEbBqFhlR9gr1gxCcKt20x+4CMJ6ySR82+2+GzayAP63K0NbnQmr hRw6D765UqxTkFuq2R1mPpWjAvqJeRggX6Ptf3OW17hr+RAX+YAvxmQbON5lDNtwH4mO PAgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si4745109edq.238.2020.10.25.03.13.16; Sun, 25 Oct 2020 03:13:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1768256AbgJYI26 (ORCPT + 99 others); Sun, 25 Oct 2020 04:28:58 -0400 Received: from mailoutvs9.siol.net ([185.57.226.200]:54241 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1765994AbgJYI26 (ORCPT ); Sun, 25 Oct 2020 04:28:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 811C852A64E; Sun, 25 Oct 2020 09:28:55 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id zjUPgiDvtWlK; Sun, 25 Oct 2020 09:28:55 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 3227952A6BF; Sun, 25 Oct 2020 09:28:55 +0100 (CET) Received: from kista.localnet (cpe1-5-97.cable.triera.net [213.161.5.97]) (Authenticated sender: jernej.skrabec@siol.net) by mail.siol.net (Zimbra) with ESMTPA id DFAA752A6BE; Sun, 25 Oct 2020 09:28:54 +0100 (CET) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Chen-Yu Tsai , Corentin Labbe Cc: Maxime Ripard , linux-sunxi@googlegroups.com, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: Re: [linux-sunxi] [PATCH 10/10] arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY Date: Sun, 25 Oct 2020 09:34:24 +0100 Message-ID: <10346945.z8tZaDcLle@kista> In-Reply-To: <20201024195803.GA30672@Red> References: <20201024162515.30032-1-wens@kernel.org> <20201024162515.30032-10-wens@kernel.org> <20201024195803.GA30672@Red> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne sobota, 24. oktober 2020 ob 21:58:03 CET je Corentin Labbe napisal(a): > On Sun, Oct 25, 2020 at 12:25:15AM +0800, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > The Ethernet PHY on the Bananapi M64 has the RX and TX delays > > enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. > > > > Fix the phy-mode description to correct reflect this so that the > > implementation doesn't reconfigure the delays incorrectly. This > > happened with commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e > > rx/tx delay config"). > > > > Fixes: e7295499903d ("arm64: allwinner: bananapi-m64: Enable dwmac-sun8i") > > Fixes: 94f442886711 ("arm64: dts: allwinner: A64: Restore EMAC changes") > > Signed-off-by: Chen-Yu Tsai > > --- > > arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/ arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts > > index 3ea5182ca489..e5e840b9fbb4 100644 > > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts > > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts > > @@ -105,7 +105,7 @@ &ehci1 { > > &emac { > > pinctrl-names = "default"; > > pinctrl-0 = <&rgmii_pins>; > > - phy-mode = "rgmii"; > > + phy-mode = "rgmii-id"; > > phy-handle = <&ext_rgmii_phy>; > > phy-supply = <®_dc1sw>; > > status = "okay"; > > -- > > 2.28.0 > > Tested-by: Corentin Labbe Acked-by: Jernej Skrabec Best regards, Jernej