From patchwork Wed May 12 14:50:41 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: 435612 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5062206jao; Wed, 12 May 2021 11:07:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8tmfFZwseKvpDAe3CBPuKhXNc6U0bkez6Ld43dGS2q5239835oghDPWCFxQwRmfszpTzO X-Received: by 2002:a02:cf32:: with SMTP id s18mr4879585jar.31.1620842851960; Wed, 12 May 2021 11:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620842851; cv=none; d=google.com; s=arc-20160816; b=Ws56nXOm5QoM4ymm+odtSVAPY0nqzymAtAMXxbx4HKUcW33DPbt906NbRIID7zVug4 zKxFiMJ7bbOdpgn7u0CsL65gOYwd0K+pp8475ro7sSKbPSdsiy+RKIXQdk4uzvBPCMo4 yu7vruZ+qwEjsPJ3MKvhHOR71qo7NLE9dxWuZmv/poS32UrswCIrHl1TdTWqxl5tO5QN Ks0Nsk88cVWgravTHGzot9B1Poc+TdGBNGDJ3JxyKowPDkZUww+9a0Ki1qe7E1z5ZdYV BIGsxawLqZNotoT002VSMp1wv2jwuAZqAjdO1x6jJGEFpya98W/B8UPZIrsaUMlcDPuu qszQ== 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=MFU6tz4x4gpsPXPDud/7+3IjbRSDEZ+tYKtZ5ivy8DvtHQWLpDDK8p8VPzqKbsa9B8 Nd+nh4RXO4L2xdS3c9PYPJ/Z992f8jQm6SHCm/xXmGm0hunaSA9zVg9pSZGLHhc7Nz3X sOnCPPhsjfk7hlHuFR6VYbQELak4rrRVqNdE4n0mLZly1Z0yE1T+dt7KOxNfXMTIol61 fCi2pglG7LlkiJjngbANWk5FzDIZjCUZdma5vUgoOVP6Z13lEY5m67Yx9RekqbNV85L5 I1oXLZ7omwFOSQ7UxB1PzImZMYaziy9658Gm9hQds7q6lXRgf2aCVprv9TdlK0xP01SB CAbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0886nqzN; 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 q8si330223ior.12.2021.05.12.11.07.31; Wed, 12 May 2021 11:07:31 -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=0886nqzN; 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 S241789AbhELQat (ORCPT + 12 others); Wed, 12 May 2021 12:30:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:40576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238442AbhELQYq (ORCPT ); Wed, 12 May 2021 12:24:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BE21B613D6; Wed, 12 May 2021 15:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620834486; bh=2J2tAljGL2+9zc0rl1Dv+X0Z9uN04ywIMMzBgFEg4c0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0886nqzNofLVfOTSJZl1jtm8Llwqt4OzjI1ZlFnD2wfJ9ZrCAoQmbgwGzTFtOVb7J GsL0D1iVxZjT6B7H3kKD9CFeSBFyLH+sdFCvc/qQ/Pr0S2uy/EBOzYVFPLzxK4jFVt JoM+0OGc3TcgAfwJmND0uPkHRCrWZfxfScexcW6Y= 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.11 564/601] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Wed, 12 May 2021 16:50:41 +0200 Message-Id: <20210512144846.419823165@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144827.811958675@linuxfoundation.org> References: <20210512144827.811958675@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>;