From patchwork Thu May 20 09:20:55 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: 443194 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2137416jac; Thu, 20 May 2021 03:04:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtAKzvEcdYCJaS72fvIWLKjKZGfPV4crg9RU08uc9dEso4vmo+rxxdzBjZWhgFOAKUYtOa X-Received: by 2002:a5e:a806:: with SMTP id c6mr3969063ioa.180.1621505062843; Thu, 20 May 2021 03:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621505062; cv=none; d=google.com; s=arc-20160816; b=dRhXrmpC+et6D2Yaq6yLWVsWzbjPmc3cBbMh+zz8OmB133uVLCj1a1YMXBtUIKlvfM klCX6NBgVvuw2No/sVbHZDAegHxeQ2nPq/uUQEXE8uiR9SheIjDzCU/bFfYebTV2T/R6 EhpVzK2j6o7pHFwunJiFcyZsTCmcvPqe2wymP96WNCON4MkENLK50VHa/Lwpug3C7n7h zK9vG55LsOQkSa4zvZsoW0sGfqjIsRxyGV/CDNPPqgw+yAqGmYHoOC6OyWsTyUeHOAwA 87piILzbGwtI0TTphDxHVfh/FPrM0krSjDjaYNLBsY0eOFmN1u+mPf/Zn68a3YlWjfUo eQag== 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=ciSRQaAdFVpS9Ziz6SIFxHdu695ZS28LnR2xvj6SCLw=; b=QkkTMnz2amt12d8/B8MRSX0TgbNIAdUPk3+CK81WizfOnEZa1T3z0B3NBo15OV0UJ/ YcazPNYqIvlFZPehs7fsJ4O0+FrXdXLmLLANTZ9VQHFb8I+DDRzxNsaV1t4vIaj2z7FC qjyuUBKQP4n7yK7XLQWy08B5DkvsLtkDB9O3QUDovdpOiXMUlKY45QBEdzCn8lV4jcD+ 7UvGDBisTQVrZRPDzKJxzrFoND4TcJ9asVRiweklVmZP3TH6CtpBL5J8pZlTXSWz7viI 5IHjrQ0PwWFV+/QKHv4kgGS5I2CBlEI/SinxKUuy02bBrTeOeWlHMNrZIoGKwKKJjgqC uf7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tZx6a36T; 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.22; Thu, 20 May 2021 03:04:22 -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=tZx6a36T; 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 S234630AbhETKFi (ORCPT + 12 others); Thu, 20 May 2021 06:05:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:37298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235067AbhETKB4 (ORCPT ); Thu, 20 May 2021 06:01:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8ED48613C9; Thu, 20 May 2021 09:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503584; bh=2eHnlKvy8jXTTvz7gkTic+rXRunp3W2Ece+LmUP8Z6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tZx6a36TgA3YNxO/Bz5QhRDMOG3mrPoMlqFXkasUCBeFOHRIBaJf1KWKxE+WfivTC l5oT+8I9iyFLhbrdkCxjjYRKmD1FybH+4iD3EJexpNNplOg/dNzrznmHV/szYXJ4LV bs3yIoniqnnrx53TtYYL6rHmdr3PDxeEMXKSjn4Q= 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 286/425] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Thu, 20 May 2021 11:20:55 +0200 Message-Id: <20210520092140.843333493@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 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 e2d1a22c5950..d8a32104aad0 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -513,7 +513,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>;