From patchwork Wed May 12 14:50:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 435613 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5062269jao; Wed, 12 May 2021 11:07:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1k4a0M6Ha9zBfXxfF1daVBLi+s7kAMEPIK9RrAKEZBhV2jo6fngCg+51vx1UEGnqyWglT X-Received: by 2002:a92:6012:: with SMTP id u18mr30766647ilb.92.1620842856363; Wed, 12 May 2021 11:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620842856; cv=none; d=google.com; s=arc-20160816; b=psC6Mjvb+47Yif/2ACNPYMpU/MR51prj77IfzcDqRJ7PL9iRFN8SMI/+buvsc6NOSZ 598X+iZ+KekMZQZ9HFdEDxwZXClstBv0TtP0A0epmfVOHX11hpGAo7wrZYFRnxdbYTaf XdahgBB86AzJGpqjKDjMy5nN8Nl5dDBtso87cgECNTgC7d1hGsAoh+UNIpAnSa+X1OwA OvpupPmV6wA46JSzWBlsZ2UwXl5xb3fBEfaOLsEijTAFx4/Gg3eqazZnv6hdQTu1FbHl tW5cmKQoUlNOF2Kn51apcA5932L+x1rI0Itx5FOWCF//Yk9oOw59BUCC8DhPxEk3dHXj HTiA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lKP9pMysr8nr7KPvNj4JS/+q2KUbxUW/7EAOfpBSR4Y=; b=Z1JDAyrt4QPfQmDwD5kdpo2fEzODgjFJNMxYvWTmxGs18pUQ3rmv6c9+khlfYU6uP8 HmoY1at+cmdKtQQK4bOGuMeSDEsU37ENkD2NtUiEz0UCBHEruqoWzgUkXvXVK6OTTuna 474vgX5k7pTudzQc6Bv255hPa4R4EB4oG4TNFrQIh8Ws/uFpf1poWbYLe2BKFOaU2QF0 xoM5VntgMJJ9KiHkkltZmbv5O60pCujoHWWEyn3nkUlhWrOwkeqi7O2KclbAbbyM/SCf dMb/UcShhBKLjPvfDCWbaT/n2Kh973Z8caf8bjC/Ds/biNi1lCiYO27I5LYIrqbPiFUp bSXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1dfewgqI; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si330223ior.12.2021.05.12.11.07.35; Wed, 12 May 2021 11:07:36 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=1dfewgqI; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241792AbhELQau (ORCPT + 12 others); Wed, 12 May 2021 12:30:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:43080 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238444AbhELQYq (ORCPT ); Wed, 12 May 2021 12:24:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 32D42619B2; Wed, 12 May 2021 15:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620834488; bh=V9TTWM/FdIb7f4inNOYuRsbBFdOcMFf8+vZ3Q1I9HOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1dfewgqI0uriIloPemy7HCWj+g/IptREBkLLmjOvycyCLejbRkkvC/qcKMOaAzQxg hC5m5v/n4/EpCpAhJ18c8n/KtePtVxejmMhA28wCTPM0e4bs0B+WC3VkVskT1LAx4V R7TKhbu5AW9PgTBpsHlmOTio5OIIzXLdZFhdfMzs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kunihiko Hayashi , "David S. Miller" , Sasha Levin Subject: [PATCH 5.11 565/601] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Wed, 12 May 2021 16:50:42 +0200 Message-Id: <20210512144846.452222468@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144827.811958675@linuxfoundation.org> References: <20210512144827.811958675@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Kunihiko Hayashi [ Upstream commit dcabb06bf127b3e0d3fbc94a2b65dd56c2725851 ] UniPhier LD20 and PXs3 boards have RTL8211E ethernet phy, and the phy have the RX/TX delays of RGMII interface using pull-ups on the RXDLY and TXDLY pins. After the commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"), the delays are working correctly, however, "rgmii" means no delay and the phy doesn't work. So need to set the phy-mode to "rgmii-id" to show that RX/TX delays are enabled. Fixes: c73730ee4c9a ("arm64: dts: uniphier: add AVE ethernet node") Signed-off-by: Kunihiko Hayashi Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 +- arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.30.2 diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index a87b8a678719..8f2c1c1e2c64 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -734,7 +734,7 @@ clocks = <&sys_clk 6>; reset-names = "ether"; resets = <&sys_rst 6>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; local-mac-address = [00 00 00 00 00 00]; socionext,syscon-phy-mode = <&soc_glue 0>; diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi index 0e52dadf54b3..be97da132258 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -564,7 +564,7 @@ clocks = <&sys_clk 6>; reset-names = "ether"; resets = <&sys_rst 6>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; local-mac-address = [00 00 00 00 00 00]; socionext,syscon-phy-mode = <&soc_glue 0>; @@ -585,7 +585,7 @@ clocks = <&sys_clk 7>; reset-names = "ether"; resets = <&sys_rst 7>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; local-mac-address = [00 00 00 00 00 00]; socionext,syscon-phy-mode = <&soc_glue 1>;