Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1238474pxu; Mon, 23 Nov 2020 15:36:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQbfdM4X3rKta50ZtrVwKnh6zO8tzr9YgASCMPY5T1XOES0jYfyg2Jnt0BGMioKG7VXilx X-Received: by 2002:a05:6402:1777:: with SMTP id da23mr1576065edb.116.1606174616403; Mon, 23 Nov 2020 15:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174616; cv=none; d=google.com; s=arc-20160816; b=V14XYi0G4icrbBBo91+I/GFNgIjcjfm3s0oom+jJXDsQ+xw599xzvBTf2Hu47UmF2N T2kSssYiA5dYiS9sBFG9wLIksNaSftM6CrJPk3Yrg2hc23m9c6NgoEM661tnagPUQR7q f3sTu8ngfuYJjxEo46DbYuFlgD1huNzLF1JLB+1qG+76yZmKsWjWy7LqRz+Tq+nmqTfa 2Wc58ZleAAefeABWbIUuwUmfJeVN5Tf1s8k2PCi+bwtAFNhDzN1K3CpfSj1Kbyhq9AU5 iW9AYANafjJL8X1yYZk5a1lFkV7AEs1Oqj+WFPuG3hH7GQ9+0js9G8JMYWKt9YgdONwV Ww7A== 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=PGnBvd0aqmv4ZrQqgtq4kOKrQzOKfsjrfGsoN4n0788=; b=E4WpShF2U/+gtEcE3oZGJYYg3cWkGVlLjE6RlA8cGf6aG2iddmvez1LGcBC9qie1ez 25hy21V4hMtC1NJf+ErkJ+NdI96rki9fFo0DpmYfvB+rIqWL9V67tQHK4YthdeYYiOxX hDYeXi/dZ2tQOPioRWHABScyVlL4TsMByOX+ISyAGWRG+nKo7MWWbwO3HIR+eICF5iQr E4ibNQlp3uqpF4cSKI+u9U8YAipwU0HQ74dojJuKy5Ug5vq6XWAbnEh2EPdFujGhmRVI cYURY5pkVaM9zQ34bfLCT2xSU3Vc3jAiyFTZFPAPpWHhemjQtQtKOud4dylqF23eFFLV nLQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MfTNXkAt; 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 d16si7420890edx.296.2020.11.23.15.36.34; Mon, 23 Nov 2020 15:36:56 -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=MfTNXkAt; 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 S1731644AbgKWMgH (ORCPT + 99 others); Mon, 23 Nov 2020 07:36:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:47980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731628AbgKWMgD (ORCPT ); Mon, 23 Nov 2020 07:36:03 -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 BD9D32076E; Mon, 23 Nov 2020 12:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134962; bh=KBU1e3xAkMuCuJY7v5KGz8R/BlQsvx+MOy8N8PKDyDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MfTNXkAtR9cseek+nEucOZ/ITW59vAACZ73c5Qp0RfWSRKyXYXNVDfeJebjBa76GH u4yJpoIQt1GN6gy4c+XQ3/Xy4ws73/5EZIAtd1rF4FWn+rzSwF7VZZQwB/fEdcuXNB K0+LBf0HH6z7mNg/jfciCQl8ZFrr2fw1dmOl4ZKI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , =?UTF-8?q?Emilio=20L=C3=B3pez?= , Sasha Levin Subject: [PATCH 5.4 053/158] ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY Date: Mon, 23 Nov 2020 13:21:21 +0100 Message-Id: <20201123121822.491982439@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 353c3de1303fc93032164402c0eb8550ecd6f154 ] The Ethernet PHY on the Cubietruck has 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: 67073d97672d ("ARM: dts: sun7i: cubietruck: Enable the GMAC") Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Tested-by: Emilio López Reviewed-by: Emilio López Link: https://lore.kernel.org/r/20201024162515.30032-3-wens@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index 8c8dee6ea461a..9109ca0919ade 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -151,7 +151,7 @@ pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.27.0