Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1504921pxu; Sat, 24 Oct 2020 12:58:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWdtwEEqstGvbg1iDdjIFCajPt8vqE6x81/0fNTO1Yfc72biqm9myfqtp/jNdWtN1Qz1Oj X-Received: by 2002:a17:906:b190:: with SMTP id w16mr8134132ejy.53.1603569533979; Sat, 24 Oct 2020 12:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603569533; cv=none; d=google.com; s=arc-20160816; b=R/B941JXyEx+igjh7qzW8/tP6CgxPW2X2tFuW495+HbiuFJuPdzTCunjbN7LDK3aqO VT1JkvxjOL7+Y5NtHsjd+gdKrFjc18tSNdRMXKvVVgZZF6TrfA9bbKeP7LfZsY6Ja3BT GlwuVnCfP5vfNlqF6LLaO6HKMLP5lxEXcrT2WS6ttvAHVV41ja7xIaLmeaQsjD8kPj0a yNgbJce5bfuFL8g3eNvXKOOVD5Ze8LL3HIzjl9WSFyU1riDlfwhKLcbO2qwDXOz9PkRa 7feAsC4S6l/gx52P2909CMlJSLyN5B1UwGKclKAszIylmoqXbjCJwD2/E4lSThtsKkEG 08lg== 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=1ilerc1ZCmJ1zQUZIwyYJj5O04oW8NSdJCJVpYvP/Rw=; b=cJ74NCqe68l623m2Or+YO4MoNk9bAOcG0WKrE8FYk+0Ox07/uftMr0ig8yyBYh+zx+ 8Zb6dAr7TTHIsN/fHPy8W72I2maTBHEJhIouA7b/uXsnOq351pm74uNSKEXA83zKiS8a tH/8Oiy19eJxeQxVISOVeZb62CF7q5AuXByMltYv+r1DCa+JSdqjfu3QUjzoQdoZk2dE pVoyvfaBKIMogpWRcTI+YEy9C871tHPp+v4OgKYHUQcwOJtg6PxFSBl/Zoha+3yjeEOq 3XrRblii/ufHwW+Go3ZovIIF/KBUEbWOp5tbvqqPpEjdK3tlp38aEALBqe5VIWxe5wY9 03lw== 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 z8si3366067edp.59.2020.10.24.12.58.32; Sat, 24 Oct 2020 12:58:53 -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 S1763906AbgJXSak convert rfc822-to-8bit (ORCPT + 99 others); Sat, 24 Oct 2020 14:30:40 -0400 Received: from mailoutvs41.siol.net ([185.57.226.232]:38779 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1763901AbgJXSaj (ORCPT ); Sat, 24 Oct 2020 14:30:39 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 77C8952A035; Sat, 24 Oct 2020 20:30:36 +0200 (CEST) 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 WRsKgVeLa2dz; Sat, 24 Oct 2020 20:30:36 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 2643252A034; Sat, 24 Oct 2020 20:30:36 +0200 (CEST) Received: from jernej-laptop.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 6BA9152A038; Sat, 24 Oct 2020 20:30:35 +0200 (CEST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: wens@kernel.org, Maxime Ripard , Icenowy Zheng Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [linux-sunxi] [PATCH 02/10] ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY Date: Sat, 24 Oct 2020 20:30:35 +0200 Message-ID: <2859076.BEgH6Mo0Pn@jernej-laptop> In-Reply-To: <79894e1266db69e463ee74a52551101298cae03e.camel@aosc.io> References: <20201024162515.30032-1-wens@kernel.org> <20201024162515.30032-2-wens@kernel.org> <79894e1266db69e463ee74a52551101298cae03e.camel@aosc.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne sobota, 24. oktober 2020 ob 19:51:06 CEST je Icenowy Zheng napisal(a): > 在 2020-10-25星期日的 00:25 +0800,Chen-Yu Tsai写道: > > > From: Chen-Yu Tsai > > > > The Ethernet PHY on the A31 Hummingbird 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"). > > Personally I think they should revert this commit, and consider other > solution. > > This commit breaks everything. > Previously broken driver allowed inproper DT to work, so you have to fix everything eventually. Plus side, there is no need to have hack for Pine64 Plus ethernet anymore. Best regards, Jernej > (Although the patch on individual DT patches are technically correct) > > > Fixes: c220aec2bb79 ("ARM: dts: sun6i: Add Merrii A31 Hummingbird > > support") > > Signed-off-by: Chen-Yu Tsai > > --- > > > > arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts > > b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts > > index 049e6ab3cf56..73de34ae37fd 100644 > > --- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts > > +++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts > > @@ -154,7 +154,7 @@ &gmac { > > > > pinctrl-names = "default"; > > pinctrl-0 = <&gmac_rgmii_pins>; > > phy-handle = <&phy1>; > > > > - phy-mode = "rgmii"; > > + phy-mode = "rgmii-id"; > > > > status = "okay"; > > > > };