Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4139598pxb; Mon, 8 Feb 2021 08:51:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyCq1wWcnTuymIkdK0AnxBQGarBRiVfe6QLefRyz2IqV0vQum9P0hEZL1aENiiMwPCcD5dq X-Received: by 2002:a17:906:5857:: with SMTP id h23mr17279938ejs.465.1612803064796; Mon, 08 Feb 2021 08:51:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612803064; cv=none; d=google.com; s=arc-20160816; b=CWPEMW/4L6mRmZR3Ub7cPTqv+rsMEjKUnO1TFScg9qYyn+zs0sKKqp5vLjqlbE4IFz a+gJo9zUhEDbagfx3HXXgm7LQTDxWQwlcGxPa5OnoAFaJsO5H10pltDKh/N6UK3LFb7J Cjb2ru0A0u8Z1krRGixrYvcbt9r1vQs9g7Om72u21bphe3nTNpkwUdZFzjZ8Ar6z96Nj W6be5rrVHqYt7swZIoBP5Wbx2+qKwcGlFV8aophFrVWWmsXEaHQiQNjwhDBbmxXpDiwd x7Vn7EBYLVYnznrnnklwQKUb4PqN+rVjSZ4bSsSr2WcYDkl7qHWWn+yy3412jz+sWyxA pLig== 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=afmFOwxwqnMLG2C5SrJ+lTkyeTiMh+srfv4U0svzDtk=; b=Rpe2Blv3sCB2f9Vuh3l1OQ7X5m4pGttkkMPdeu6fZ2GahvRRZ53eIt/Ue9uzu5uaer wVNG2zELbBM5sTqIV3Kc8g2iXybJGZTymWDfkU3aDjNe+eh4F2Qc6SsDEC/026sPMIbu qVHpMdHcqKaKXKHJuFETIYY+yfEYsAETwd3opM3sS/IbZ9Csy5M+PQRwBzK5ppPW9Yrg Z7MqBLpXDl9BzETV3U+lVaQgXt+Mj/lxKLZ+dZRnN3dD5mhu6KEXWOLxZFgR9ppxs2DN FdUsfYBa0t9G/Pe4dakArxmzEmh/V0KaZC7xYQQp29ftx20pCNXXSFSQ+aY5j/KkGKW9 9OqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ohz0J8b3; 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 s24si13376564edc.77.2021.02.08.08.50.39; Mon, 08 Feb 2021 08:51:04 -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=ohz0J8b3; 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 S234628AbhBHQru (ORCPT + 99 others); Mon, 8 Feb 2021 11:47:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:32838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233573AbhBHPQP (ORCPT ); Mon, 8 Feb 2021 10:16:15 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 361E864E8A; Mon, 8 Feb 2021 15:11:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612797085; bh=knllIAyGDKAAm8UOv+igvPm3nf81/hPKr0A59HVe6Js=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ohz0J8b3RJPsuUmmEEsoOs8gwQhccL2OsrQhRwbrdczvhJlo6VXioUaxg2Swl3ovM RERhkmeVifmpDh/+3MR6xAFKyRmJYti4Skldp86kygwfo6cj+fCHs690d7Vi5jJKKF tActp1WvsMA2Q/c/IEKk012KZAguydJ+6oiFX9F0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hermann Lauer , Maxime Ripard , Sasha Levin Subject: [PATCH 5.4 20/65] ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode Date: Mon, 8 Feb 2021 16:00:52 +0100 Message-Id: <20210208145811.014578733@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210208145810.230485165@linuxfoundation.org> References: <20210208145810.230485165@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: Hermann Lauer [ Upstream commit a900cac3750b9f0b8f5ed0503d9c6359532f644d ] BPi Pro needs TX and RX delay for Gbit to work reliable and avoid high packet loss rates. The realtek phy driver overrides the settings of the pull ups for the delays, so fix this for BananaPro. Fix the phy-mode description to correctly 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: 10662a33dcd9 ("ARM: dts: sun7i: Add dts file for Bananapro board") Signed-off-by: Hermann Lauer Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210128111842.GA11919@lemon.iwr.uni-heidelberg.de Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun7i-a20-bananapro.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts index 01ccff756996d..5740f9442705c 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts @@ -110,7 +110,7 @@ pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_gmac_3v3>; status = "okay"; }; -- 2.27.0