From patchwork Wed May 12 14:51:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 435681 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5233822jao; Wed, 12 May 2021 15:04:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6Op/+zldzinRDlGeXJAJ+alBkorNRdqcbBpotxMD0czAAgg1X2cqNfDe+kNre3darAt4H X-Received: by 2002:a17:906:1e0b:: with SMTP id g11mr39611290ejj.291.1620857065902; Wed, 12 May 2021 15:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620857065; cv=none; d=google.com; s=arc-20160816; b=PlM2U1u7McLY3xHOPugO7LwZVi8uA2XkxwnGPuWOCIli04due8QFLMh+/HG1qyvTWU wsU82iAGTwdhV5Ct1tRunaLyx5eczInlN/IIB+pWgiwmrzbkJ4Zsmj3OOtObOzJjPNxD U4S1tDA6spN4vYOZpyMgWkLi/r1gAd7zdSEXf5B62KKMSx1OP5p1S+LWY/RieOzhsFKn owZrveB7k2iQDYX8AFTUaWJygo7BjyNKpPv4e3RFGREaoS++3MkAS+SWIdN7QiIKrYni RkpMR8STTm7A0CQTcKEWXU2J2MLM/j2q+OepO18a2fORA9cgR4pXjsPBx96yg+GFnBo6 57hw== 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=ccFIN3+XMLR7vdxEbXrc0oVjMST7iNQQ7FZldLazN1E=; b=zsHaCv5AS+nHf1QzNsmNWYM+Pr9c2qcniHipF8qeKWSJ47XpLVxhBwDfNLqjsQR+DA Xtb+sigR+opUjyaV+fNLFUZQluDqHHS0uC7RgBlunwCEqCF+DYUAUyUokIvFfF7zgL5T gR7/AQnfS9JPRI9FobLjtjagNb7V1ndNm7Nu/WwpKVQq1X8MrUYK9x9bYfwSpk/VMWPY 88k+sQttI25wEDu2fEMBUkQJaCfIQ19JSzsYkV/85u7lJHP2lAfEiDOqMsiGADgCnz+f BnbVkknTt/4eivwvCFaO5HfpnAtO6Fd5nakLWkapbfhZPltpOGzyorts/DBfdOlrY9ls xWSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w2CU77YH; 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.04.25; Wed, 12 May 2021 15:04:25 -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=w2CU77YH; 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 S1345208AbhELRHr (ORCPT + 12 others); Wed, 12 May 2021 13:07:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:46602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244775AbhELQvK (ORCPT ); Wed, 12 May 2021 12:51:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 16B9B61C88; Wed, 12 May 2021 16:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620836278; bh=2J2tAljGL2+9zc0rl1Dv+X0Z9uN04ywIMMzBgFEg4c0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w2CU77YHZk04rwoo8kKRNDAOyXaUD85Mw6r360I6mBM2IURRSnJFGDPswV6pjnVvq Ttc/va7C19jcqPldqx57ptqR6RYBvkGX0la6RN6KglhJk1ukfTWdw/rok4ZgL+CgaW fzYjZ5Zg0eVeSW7YkdcC7pmSylsz587AEj0S74lo= 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 637/677] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Wed, 12 May 2021 16:51:23 +0200 Message-Id: <20210512144858.523818971@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 9ba585cc5b56ea14a453ba6be9bdb984ed33471a ] UniPhier PXs2 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: e3cc931921d2 ("ARM: dts: uniphier: add AVE ethernet node") Signed-off-by: Kunihiko Hayashi Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.30.2 diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index b0b15c97306b..e81e5937a60a 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -583,7 +583,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>;