Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1446800pxu; Sat, 24 Oct 2020 10:57:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+RqhVOkDTDbIosbwPm16QJ5QyGF0IYJ1IZwGBXDBmvoLY7dS2Coz2eiGV2skDNUquY2ry X-Received: by 2002:a17:906:1c57:: with SMTP id l23mr7620414ejg.372.1603562272317; Sat, 24 Oct 2020 10:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603562272; cv=none; d=google.com; s=arc-20160816; b=aUk3OufglPE3oh4T/Bl0TfofGe0Vu+oN61Eh1dmsAwok3QBtX4XuYoI5jmutnKqBpp aTxNF5YP3N1LBgu7Qen7pUfU3qssvznB6pY/iw/+UeKUTV9Sxsm5jDyhbdq+XBTvrwB7 uBbGNbi7Epbz6FcOZiQlVd3Mf6zPLjdgC1/O055PZBK4ADEw2UWgj5jOBAERm+ISwT2V l3lJBRBD3IsfF4YDwUZkwLYRFDIe5r8Tp+uZp9GLuxLo5khGc2uMyryyqVt60A888FaH Q/q3ZFpCHJN2npXp+4BCTNCwA2K1gWQpm/pOv+oWvm/qWULUzBJ7nIF6zEUDKeQh4XA0 lsyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=OY+PNy6NpOl6s1DOFx66vGjYi736I4sbvvVPlXjNJJM=; b=CHj5w0aOFyjVrE3RK3JpJ829H9oY6FPihmDh/b3aRv8hI+eedZZLtoa6GAZ6SHufKC YOd5P8yjC9pbSxIqcH6s2TPrUuTxwQwes+GR2TKkcpg5+BANIHaip6O6xpqUTvCYxngY u5GeRkFRG/3fmgqKa1m8V8yGC66+V3WRFZP4mBf/mSOO7hQOjsJyaZUIj+a6k8LqQx7I dvDgkp6McqvDqvYqdMfV/FfpTc1tmkh1X384VTZMyUCQM4HFkB26CBrhujt9MwRiAL04 7XGZfMI9CIgJVz/5miiTJEmk83JqU/+lv8wVXSHhiiFu1dCHt9kLpUOo8mxC5WG6jud3 cQaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@elopez.com.ar header.s=s20200214815 header.b=o95xcThY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=elopez.com.ar Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w8si3498516edj.420.2020.10.24.10.57.30; Sat, 24 Oct 2020 10:57:52 -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; dkim=pass header.i=@elopez.com.ar header.s=s20200214815 header.b=o95xcThY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=elopez.com.ar Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762502AbgJXRMb (ORCPT + 99 others); Sat, 24 Oct 2020 13:12:31 -0400 Received: from exa.lopez.ar ([51.89.75.32]:45774 "EHLO exa.lopez.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762487AbgJXRMa (ORCPT ); Sat, 24 Oct 2020 13:12:30 -0400 X-Greylist: delayed 453 seconds by postgrey-1.27 at vger.kernel.org; Sat, 24 Oct 2020 13:12:27 EDT Authentication-Results: exa.lopez.ar; auth=pass (plain) Subject: Re: [linux-sunxi] [PATCH 03/10] ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY To: wens@kernel.org, Maxime Ripard , Jernej Skrabec Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20201024162515.30032-1-wens@kernel.org> <20201024162515.30032-3-wens@kernel.org> From: =?UTF-8?Q?Emilio_L=c3=b3pez?= Message-ID: <47f00919-39fe-bbf3-32c7-e1375f34a7be@elopez.com.ar> Date: Sat, 24 Oct 2020 14:04:46 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201024162515.30032-3-wens@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received: from localhost (Unknown [127.0.0.1]) by exa.lopez.ar (Haraka) with ESMTPSA id B3E375ED-B79F-46BB-BD98-D96F37E02556.1 envelope-from (authenticated bits=0) (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 24 Oct 2020 17:04:52 +0000 DKIM-Signature: v=1;a=rsa-sha256;bh=2EyzHnJp15sr8tT4gTFe+OUB6xzYrozSwpx/bWJER5w=;c=relaxed/simple;d=elopez.com.ar;h=from:subject:date:message-id:to:cc:mime-version;s=s20200214815;b=o95xcThYIBGLVZGG4AU8efDz+q0bhaSeA181ZgEltYBYm6N6k1D4opc1jA8VwRk3WhjMp+yC5Y0ux1dx9DJNGxNI86BYwfPLNCCcVKc/WSSKKuvbKrJitQxkeG0ICCWKVBYqpjeXedwVHegfPmI00i3Nh+fG/nkHs34jjb5lgChyxz2KWw4SFMkTqjRLeDZnp6D50nQwyVSpFIex4t/LxcUXepptIIA7o1GBoPXCqnl+NC0KZk7+Lum2Djlfzj9Xq+cyhnr/Da5gnw+i+pYGT8wT0T2Bg93i7EMM7SoJkaB2vHrNA2SOs4PBuA5t1zq3AgC72oa/XcF8sIa/MT4NvA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org El 24/10/20 a las 13:25, Chen-Yu Tsai escribió: > From: Chen-Yu Tsai > > The Ethernet PHY on the Cubietruck 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: 67073d97672d ("ARM: dts: sun7i: cubietruck: Enable the GMAC") > Signed-off-by: Chen-Yu Tsai > --- > arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts > index 8c8dee6ea461..9109ca0919ad 100644 > --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts > +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts > @@ -151,7 +151,7 @@ &gmac { > pinctrl-names = "default"; > pinctrl-0 = <&gmac_rgmii_pins>; > phy-handle = <&phy1>; > - phy-mode = "rgmii"; > + phy-mode = "rgmii-id"; > status = "okay"; > }; > > I upgraded kernels yesterday and saw that networking had stopped working. I can confirm that this patch fixes the problem and restores connectivity on my Cubietruck. I also verified the information with the schematics, and it looks alright to me :) Reviewed-by: Emilio López Tested-by: Emilio López Thanks! Emilio