From patchwork Thu May 20 09:20:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 443193 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2137392jac; Thu, 20 May 2021 03:04:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4iZMEItrzp/e/HIo+/G2+APNbhTYU4gtdb4G+dwNF6HZ9R+W67n5TPZidGGICPyccis8H X-Received: by 2002:a05:6e02:68c:: with SMTP id o12mr3779785ils.92.1621505061584; Thu, 20 May 2021 03:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621505061; cv=none; d=google.com; s=arc-20160816; b=lelR6+ulO2UYLCXU8kEqYFCRl2zM2IwelJlFDtG3fJpScM28/4v6e/hK4RwTvRGbHu UO+e7FY6HufgNvtl4F4nMAH7/OPtw6ssHFAWkHX93/vHKBhA/jsryovAZKWS04I8lpTy g76FUa9NN0GNTv8OhYj1J1WedsosQkHGnqfNNdVoCPrqXM/SXpSsBM1j5WhB7/syxl1N Sw0qqY4dx7A4kzDtolQO9h1j54ys8XdJoBtFoOeFUm5xXw2sXQGI8KdOpTNz/bnczDgq A+fGM8CNaI9O4LvMiJH88YiZt0zbu4erVni7kty0xCNc+5CL/qlj3OLW3qk59N4o3+eg sIaw== 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=d5PLtrLEKDV1RXzkkHyxfpRIHVhKbThCsilw3fv3TDY=; b=JaDkdaY+KMs7YaHQdXb6+BKyTp56Hj0vbKsxqw902N+ZvOxNW4rrW2HCbad+nUJ9GR URB90CUgIX2X/44ZgCt9NtZkskAUW7wXgZnAJZSHHIFZwIuwVXcwAyMG/NMJHRXvabXc TAdu6l65miYzykdxx1VtHIVnrtkG8quNFpR8D3tadArLbj3ttvS4PaD7D23/RClyDNG2 2TwiHqcV4J7L3zSAtu+FZrxKsiVi3u35nDdheeK3xLNjDthBuiKxBnhfYaIfMJudKc5D BNehN5YaPm4KrdG7xn98GfsjopT5ormSTlRxJ7fHNoY1DiXAyHV4DfRXpifPZ1EwV9HR BMLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=K+orVuCN; 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 h10si2694120ili.90.2021.05.20.03.04.21; Thu, 20 May 2021 03:04: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=K+orVuCN; 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 S235641AbhETKFa (ORCPT + 12 others); Thu, 20 May 2021 06:05:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:37296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235070AbhETKB5 (ORCPT ); Thu, 20 May 2021 06:01:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C27206191A; Thu, 20 May 2021 09:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503586; bh=ASGJPZPeFCP9rp26YdylwYW+y6pwyxyA0FP0Uh4iQzk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K+orVuCN5GG0Tza9nX0Ev/Sn7T7VVLOXRWS/skj7u7wAUAI1O+0Xd5YQ+AeM/NP18 oVbLUEPvl4IO8L6NW1QhDUAzogCLS3NcjrHII3X/oeii6ldcq7W4L08dHUvI2OBKzy S+JjjchERbbG+BiIvXybKrSPD5wOREg1WI1tgcv8= 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 4.19 287/425] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Thu, 20 May 2021 11:20:56 +0200 Message-Id: <20210520092140.875643411@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092131.308959589@linuxfoundation.org> References: <20210520092131.308959589@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 caf112629caa..62429c412b33 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -610,7 +610,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 2a4cf427f5d3..8fe9a57b9562 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -416,7 +416,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>; @@ -437,7 +437,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>;