From patchwork Wed May 12 14:51:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "gregkh@linuxfoundation.org" X-Patchwork-Id: 435683 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5235346jao; Wed, 12 May 2021 15:06:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5oe0nKX9SlKkOeux+F6RDGUq3tWyYOL/IckfEYJQI7AicCkbCS0PSYEGccIl9BE/lvIMP X-Received: by 2002:a17:906:3385:: with SMTP id v5mr39624853eja.539.1620857181065; Wed, 12 May 2021 15:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620857181; cv=none; d=google.com; s=arc-20160816; b=mrRMw0SsTDZI4M1tuwxY3sWwAJbwqGQDVQugi2tPJ3uDmz2Jm+wTqWPypMHy3IS73R Z3r3kkzFCMyyFYwDDYaq6s8t0+Or991bqCHWppS4SUzJxDAp4j3E2pHqjnJLUfPkPLCu Oyg0TzLoMAhpDDtj3fYdPH0Xo0TogJ6b0UBhVZDIOBAzan6i8v7KJ9Ou+qI/Plf+/YpW gKOLeSROLtyjpfpxpklkA4ymLOa+RUJUjyYmvcnSZ6vau+ZnI9CiCmQ1pQdnoSkOI6w4 DwyOmQb1oCKkB25/YrvOUQxLV0efZQzTHRMuxwKRtZane1hOv9V/wQwdZlKzUGqZp0Sl 5iLA== 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=mAOid9mlQIk9XeNDmMDzLIazbGv6oR2WWzaRPQgGB54iTqpEUXCcx/61zt3JwVUtdC fY7Ag9UuzGNJDA9N3dpy2hEoIzDDiz8kQBP/7hJzUGLcEyPSIPt/srz5vShEBY7LOFGV j2J8nPHwR68n2MT49I6gEewO892P8ZYwFZVIpTFFNIS+n42L/PV527RaxoELBT2N0dh1 Sy8qomxQXX6WeK1OMKuA9zAGBDL5sfYKlZHSyUlZ+Y7OPQYPJVzc0HfPz+ceWhAg0QKr 99RqTamfFPmTO0VgWHyJl8Sqry4rae6eDZLtIVb4jPfRKURPdCVyK7yWAYC9a2n9Qe/0 +ZUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pxmez0O7; 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 u19si859013ejx.176.2021.05.12.15.06.20; Wed, 12 May 2021 15:06:21 -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=pxmez0O7; 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 S236036AbhELRIq (ORCPT + 12 others); Wed, 12 May 2021 13:08:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:46628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239626AbhELQuU (ORCPT ); Wed, 12 May 2021 12:50:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8F7DE61E8C; Wed, 12 May 2021 16:16:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620836187; bh=V9TTWM/FdIb7f4inNOYuRsbBFdOcMFf8+vZ3Q1I9HOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pxmez0O7BcqD5bUhZpbNzL9oorO8G4KRAlMaDVIYXN+hmJlGDqFp4jFccxFyYZv6m WK8/1JwsXcHFqA5wP3+AEWPiBJSDx9159l7JS2NsddZc1urGWwNoRnzEkOuaV2rL97 5KmBQyKwjrV9RMgEHZqYzM0vCABbFL+ygcV1DpB0= 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.12 638/677] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Wed, 12 May 2021 16:51:24 +0200 Message-Id: <20210512144858.560141591@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144837.204217980@linuxfoundation.org> References: <20210512144837.204217980@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>;