Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1239013pxu; Mon, 23 Nov 2020 15:37:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxb5PUDbVGcT/xPVvMEZzicCSbB+qiuCYh4wtCMZ67LAdMFLxoG0JgsZzqY4Gt/Kvhi0Kp3 X-Received: by 2002:aa7:ccda:: with SMTP id y26mr1580884edt.123.1606174678804; Mon, 23 Nov 2020 15:37:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174678; cv=none; d=google.com; s=arc-20160816; b=U1VZ5R4m2sveKmf2I5QNpoiB1RM4I+rOcKlyPe7pX0tHr1cUfVE4kmTwOKOGGFnwfp Xqz+1S9vqF8ByZ42MW/fMo9sY2IYKH/+XKvzuUoJt+0fYB1OCjHynbQaf4jWUXx6nAHG 1TAr4CaSIkR4aPD6FCJUCvz8ku4qizOj3HPvSBxucGJ101vtU5FrEPz64qXQTNR7jfnT EKe1TH/vGlWX//unj0aBSnD/NQxKQn8a40Z83brS/iU48kKa8VUSOlfYymAo37zltLYM GYivsvYE5dTkqO2k+EeI1OCTGTirIcVVLbZre5ds1kGoc+ytHECM3o+n35KKMco93Dt8 nqqA== 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=OwkHGnwFekbDdfNUYTufJSHlDpFXBSY642ROzl6+3yc=; b=0CnnxE2wGcYR5cKIxFkLuFQ1bOvcSYNiAtA59SnhjsUXMMb7pCIXOcbv5uzw6mjvdM Y6rZ0FozyCtyhu7GHfZC0xXj4w2qDhuZPn+c1oDaS00U5IddpI2hnk/6GwlKgpvQw0xn nZ9bNNUS2+M3z5RUPDvU1NOuCPHcUyfAdNfvPyfxchZjJEPHY0MAmijyBlM7rNNmS/Dz wP6nsuRf52YJe0a3z+pg4VvC25W4EBAvAkk6WcstfQZk6Lza3zJ7urKr9SbtBAEFHo4o +JYN66E2xAN07a4AGOHB4nNxtdpNfHqYNGk4xPYqhjQWAzfVm3loDYP1Kt0GVigDCOFR voJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uSvCRfbA; 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 q7si7833410edr.253.2020.11.23.15.37.36; Mon, 23 Nov 2020 15:37:58 -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=uSvCRfbA; 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 S1731973AbgKWMhi (ORCPT + 99 others); Mon, 23 Nov 2020 07:37:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:49772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731958AbgKWMhg (ORCPT ); Mon, 23 Nov 2020 07:37:36 -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 0F8292065E; Mon, 23 Nov 2020 12:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135055; bh=/rai50xeOA7HLIO6nuXCOz9GFE7NmCzYduUg7qqQIEY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uSvCRfbA+Zkul1nvETrV6hBl08XSPUTRUMww4249IPOHLsseSXO6sXas8b+DgDXi4 8BC6hDLqSz6ct1JT6VYtGgv2gUfM2j5RLk1GPwi+iAXlUDnkt1VJcqc2EL4GdkUhh4 eRj8fYvTI/+3huNlYYQtccJpmvDwnJxK6Y+W8J8w= 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 058/158] ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY Date: Mon, 23 Nov 2020 13:21:26 +0100 Message-Id: <20201123121822.738180911@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 3914160ffc0bf762d6d605d4b27036b7b89367ea ] The Ethernet PHY on the Bananapi M2+ 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: 8c7ba536e709 ("ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i") Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)") Fixes: aa8fee415f46 ("ARM: dts: sun8i: h3: Split out non-SoC-specific parts of Bananapi M2 Plus") Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Tested-by: Jernej Skrabec Acked-by: Jernej Skrabec Link: https://lore.kernel.org/r/20201024162515.30032-8-wens@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi index 39263e74fbb53..8e5cb3b3fd686 100644 --- a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi +++ b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi @@ -126,7 +126,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.27.0