From patchwork Wed May 12 14:49:58 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: 435552 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp4916510jao; Wed, 12 May 2021 08:09:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWBdieogPhYeYiL/ivLxJUuTZwrtlFxsh+kenWsB0UH4x5jbi4z79yo07T85oiw7RglY9e X-Received: by 2002:ac2:4a8d:: with SMTP id l13mr24809640lfp.493.1620832188189; Wed, 12 May 2021 08:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620832188; cv=none; d=google.com; s=arc-20160816; b=uoTm8xY1/0+9Z34ADn2qATkU7On4/uDCbXgepPXCashlJITeykIZQz7wEBmBq7B7Wl Nyz7hsdtUi5nXCYHwlEoV7NW+rMqFhhje4rtRif9I+qcfpojWjvu6c8PMuiTbzWLBDkM EvODLztFoSS7EyiCfSW9nXiuikdgsYHGXAwmRFHCX7YWQA26pqdJlBnc7CCK9SeNkS27 Jc8dJ5VlLx+GUH2cgPFXuH1/QGutDpVF1kN4lR15/WpkyVTRkXMU48VpUb5IRX2TY3H8 j5fnh7yciOiSBBUj2czekPwYR1jPU9QcGWvhjSYuMJFYdSlAWcJjxa/d0V4CyeJjZcUG JBpg== 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=/ekm6pHjEIlpBGGsNPf0rBTZyE33wI2SokVZwGq/WEE=; b=fLy3Cnn24AjcZJoLe5G+kcn9X/1BuXZFcWFHL0B665tETsxidKRJ0a47MqYx/boHqN 65Pb484nq85WcPlHeRGihjPyncfVYBMgQwS9taxTfqn6A/EuR+cNxnjD9pvIRr5/p/kH SQ60s00M0zwlFJx7M/kPOK3IWipJZhQ8g2J0m2dB+oO4kCFvfwHLDAxgdnCde7uAKhHp t7NO31VJZVfPh47ECz9luBhSH5XJu2CusGvXEfAVjMEUTeNYlCMxUhTNguto+FzvQwkR tnJltQAU0bdKdX29QNoA2oQnKcs7MQ8D/yukKNKhYe50D22UXq5s41HqvPgPgbMLgy/C FZHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=N4x+uRUd; 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 w3si206917lft.62.2021.05.12.08.09.47; Wed, 12 May 2021 08:09:48 -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=N4x+uRUd; 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 S232915AbhELPKs (ORCPT + 12 others); Wed, 12 May 2021 11:10:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:37632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233310AbhELPIU (ORCPT ); Wed, 12 May 2021 11:08:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C9A7761480; Wed, 12 May 2021 15:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620831709; bh=odQNHGGWOzWg3ByobigY1z/qy6Xiyszc18j4BnZnFMk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N4x+uRUdLlrdyL2qLL/JO5Ua6Gw8K8RTHTRS+VBGY/CMU6DvnYLz8JlG5TUzYiQ+B Q+IG6AFia5Esqv8yjsvfFwBJ37vvzOvOVvhAemLpL725DjuWssGNYHOzVv6B/orHfF n76oxbk6m8kaLgGD9pb6tbA7Pu7BcYDwdfBRc7Aw= 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.4 227/244] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Wed, 12 May 2021 16:49:58 +0200 Message-Id: <20210512144750.271146714@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144743.039977287@linuxfoundation.org> References: <20210512144743.039977287@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 b658f2b641e2..3348a32f7d0b 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -718,7 +718,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 d6f6cee4d549..6537c69de3dd 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -509,7 +509,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>; @@ -530,7 +530,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>;