Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1238945pxu; Mon, 23 Nov 2020 15:37:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvOGoFQE/aSlZ9iXVewk2IKXYRIQPu6YKda3xCqQFYYql4+Gob0wH/YvhxM4lFkDjJez6/ X-Received: by 2002:aa7:c049:: with SMTP id k9mr1483071edo.49.1606174670399; Mon, 23 Nov 2020 15:37:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174670; cv=none; d=google.com; s=arc-20160816; b=WU0lOtGuissDYSbS5mXSVPxW89L0nk+Ymru2GVix2A6f03IkJvUpirfsp4e8teqkvy U2gCrY0u6qVP1E+AirSafOXJHEdDAGU4CuQN+SIsza0YIfOOwkur0T0ZSuLS3QP3ys07 VmjAYPf411HI3/IUkYXmNCQTXTmW/r6XwgH+WsJ/ho71gI+qyYUoM5s0mNbVaMJmZ2LX StnOpyce/XSiWMA0y8v0x5LYvW1cCWkg1UbsRUVbXVUKzgbnaRvZNE0BKtfUyu+r1Uz5 ggw8CL2Lg6K+TNDPw3AXSeZY0Fbb/HlWBaiSpnBZViwU92L084B+ki7QIcYEBSnNvCn8 t8Aw== 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=pApiPLIAyiV5ccO2tgqY00kd2AmC2I9gWnVEz55LaLg=; b=pQUUwLjfLUlWQ6ZvLHz42Cnsl9rHHO4DPE4uLKR2FdZQv3VKatWiOfSEd70vSMjOlP 4Nmab4nXkkubDE+tbcPG914WQ4Nkw5QSmhAoLd3me0ZvTwEaXwOkA4uCmHXYW+6eszbV TPygMuPSy7dBBbSJkHckwaAVeY0x70OEVVMjUWO+TTfDY1g6cECnYKSq7NkB/LFfzVV2 8xTnEUiF4DpMZEZodiyy9pWsDbv+SHqHAI3p6wpk/qmSJpaWHt3imJ93rt5pfGiVPFgM Gi/NMTEBUaBhwoCPhuwdmlmIdwoWxPfH2ORyWQM5/idXp+KSHZkGDQ/4BkEMlUPgEpIr HdNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C007nIkN; 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 o27si4648993edz.209.2020.11.23.15.37.27; Mon, 23 Nov 2020 15:37:50 -0800 (PST) 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=C007nIkN; 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 S1731936AbgKWMh1 (ORCPT + 99 others); Mon, 23 Nov 2020 07:37:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:49664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731929AbgKWMh0 (ORCPT ); Mon, 23 Nov 2020 07:37:26 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 329DA2065E; Mon, 23 Nov 2020 12:37:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135044; bh=5ONfmuhu1eJSrJ5+DMlvqQn0ruu9+23QUEYy8h//tIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C007nIkNn6qPGPSJ5CuGHbQ/iqDYmvIdauEHzSN5M01hbJY4asGhq6aiclfATGYjR 9TbMA0Mdt8wgjGoipsS2RCayaSmbb4TbzPcMmpjSAk2kCsfaBNW010xWKT8K8Qs5R0 TJpD2jPUTG77IA9HdmG2Vy9IfBrPSOWj+rdk47h0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , Sasha Levin Subject: [PATCH 5.4 057/158] ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY Date: Mon, 23 Nov 2020 13:21:25 +0100 Message-Id: <20201123121822.688835494@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@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: Chen-Yu Tsai [ Upstream commit b1064037e8ecf09d587b7b4966eebe0c362908e5 ] The Ethernet PHY on the Cubieboard 4 and A80 Optimus have the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"). Fixes: 98048143b7f8 ("ARM: dts: sun9i: cubieboard4: Enable GMAC") Fixes: bc9bd03a44f9 ("ARM: dts: sun9i: a80-optimus: Enable GMAC") Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Acked-by: Jernej Skrabec Link: https://lore.kernel.org/r/20201024162515.30032-7-wens@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 2 +- arch/arm/boot/dts/sun9i-a80-optimus.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts index d3b337b043a15..484b93df20cb6 100644 --- a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts +++ b/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts @@ -129,7 +129,7 @@ pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_cldo1>; status = "okay"; }; diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index bbc6335e56314..5c3580d712e40 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts @@ -124,7 +124,7 @@ pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_cldo1>; status = "okay"; }; -- 2.27.0