Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4630811pxj; Wed, 12 May 2021 09:37:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCZx8BWhhncrP5IvxUqfEj6ZepsvP83/eIpNYz3/XX40qp9XJJpxxybBoVkf2ICQXh+6QC X-Received: by 2002:a9d:6ace:: with SMTP id m14mr17831495otq.207.1620837434978; Wed, 12 May 2021 09:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620837434; cv=none; d=google.com; s=arc-20160816; b=ndb9xDQXdCMm5aRyEhyd2WYAZzLjnYktGmatFDiDNhNfXG9+/GFpey5Xow3aZ5TcAf VPfogkyHpT1VNB6A3H6TH3rUoU5gSdSAoGF2TZk0GM6MMtT5VDrhKKJZSzGwUmxDPgRK aLxrcWYconpvJ5i8XhKvTAvaifjxe5DdA+KBahQ4HrdAgi3KcYVX/MeBPcKgmlpJphqQ 8iDKrhz8E70sB2JfD2tIIub+/Fm94yDUxOJBNE+VmHy0KGnalEr5LI8wNv1wH2cc0R84 9tkziG84VQSmh5LxqbzChHQ6FBwTUELOqVCU6uu2bCEBrpBSB7XGOZXgeEs5sEx1W+00 6edg== 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=kMl3m415x0ggvtIDPt43LXXXcRR9/GR+bgYR11YevweQQoWkl3uARxBKh8ToOmWyhL ZsydgAT/EZVjmAtvcLTHVHWnVdZYqHkBscIFIkQsDxvuGaKjlSVmOyEKwHi7apbKakzd KgN++qDSWiajLdrvd6BEdISGJWoWgnqi9n0YFkJ+Jrph4TKR9xJQRgADRgsUu9pUM5lQ btbjPEp7e/sJLCeNaW8b3KMpCEISHHaLsQcMzDI9ZIIV5KQcXmG9LqClILH99r1JWk9y xdcB2sQXvDWpTOiIPLU5pVSxF5iLIIhqTqdiUtheAHfqsR9qekF4inYBb+SrLUGZxh09 D6FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TY6d0RpM; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w20si412204otl.126.2021.05.12.09.37.01; Wed, 12 May 2021 09:37:14 -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=@linuxfoundation.org header.s=korg header.b=TY6d0RpM; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242980AbhELQgN (ORCPT + 99 others); Wed, 12 May 2021 12:36:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:40104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234526AbhELPo0 (ORCPT ); Wed, 12 May 2021 11:44:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 02AAB61462; Wed, 12 May 2021 15:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832969; bh=V9TTWM/FdIb7f4inNOYuRsbBFdOcMFf8+vZ3Q1I9HOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TY6d0RpMCGZc0BVDvZq1beLRd64wSMNXgQdG9OoIaza5OdEn0XfPeXukapov+BESP yjWPwvYk0DKXG+tdJjDBDQAiLRU5IEEsbHU2iGHkTF6yzom9wHWi8innyxPvEZe57R Sn+nMHTeDLsMdWw+kIDFbO0YHXH8g+2k1u9bFJaA= 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.10 497/530] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Wed, 12 May 2021 16:50:07 +0200 Message-Id: <20210512144836.096872188@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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>; -- 2.30.2