Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1238017pxu; Mon, 23 Nov 2020 15:36:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJynFSmwMssWB0mcB+n6TyeQ/Wrujl4R2zKpeGOXvUoFo01G/gKSwHPVXCQmIeJlDretRiUs X-Received: by 2002:a05:6402:10ce:: with SMTP id p14mr1521883edu.12.1606174563369; Mon, 23 Nov 2020 15:36:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174563; cv=none; d=google.com; s=arc-20160816; b=EQplspF2MizAFSud1e6vgLZvweUbILDAp2bOiyHplnZ3CQU0npsnNSzgNix++xgwKk Db9s0iLAa8NNf35YO5fdHfqr+iBE9uTP8U7a6dYLV3fTzHw/DuZ+ruh7mEuC8nIENgDL MydGR2WIh0AnDvDgYUjyWji+vyn6F89IheG8tKLElcpbWSuNIIqBkN3VDP9bPQUL4LC1 la9M8f7HDab8oX4THhe7Dnbv7rRDLvpvNBtETsy7W+TGE+ggk7bpzFH2Ry8GXyBizrTU YnIVPkOeqhyYWHJqsiN73BUjrLJCHqsL8yzGxGLnxCTAGhefpkkNwNuvrir0mRAWG5Sc 9Mow== 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=O2uu4xc88CADdfJA2Zo/r4bXzh/vN/Rql5qOzyE9o/o=; b=kG6F7+lqSZglccoTlg+XT/dfz2QD/kYKrDycZI7fvGUPC3Z60DvtAHxbu+Js6vQcPi xw4DWtLTStvzQegmU7wVYG1KJU/B26NXOMO+yCnuXF756KsU+zMDU+dbFp2opIpIDR9V fIyRkUN4A8U5wvtZ9GQnlsbq3jp8HtiY+5ed50RqA9HW3h4Xs/AuDesfqc6jjgtsH5Jb cgxcux8CpJUHrV712zK9nI2eFdIMsYuU5HBwWgQzEB0pCpaRghBc2hsradRDT6/Sullz OxJuhw9iFW2ZkVDuxHGIUMm5rO/+wVSrV27++SDcHuK7nVl13kXOcOmVGXkIxTVyQmB/ Lrgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QLc5DCXI; 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 m30si7320963edj.103.2020.11.23.15.35.41; Mon, 23 Nov 2020 15:36:03 -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=QLc5DCXI; 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 S1731606AbgKWMfy (ORCPT + 99 others); Mon, 23 Nov 2020 07:35:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:47780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731586AbgKWMfq (ORCPT ); Mon, 23 Nov 2020 07:35:46 -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 9F1DD2065E; Mon, 23 Nov 2020 12:35:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134946; bh=/CuCIyqCGWl1pj0qaP1PVDXHdanIKYc2bl6650nmA0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QLc5DCXIYmf73ddF7vw25UyhGszlgcqAHAIfdeWQ3RPHBuMRZZFme8i9j+JS1ads6 1O0PnG7vG4cxYxefY2SZlxVK4+wiykz3H7RbGD+53GXnGeD0fQ88etyYvtq1v2qtkr JBvDq10ZDGt0LoocmPPh6AwEqt5hUDlXT0lS+YRs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jernej Skrabec , Maxime Ripard , Sasha Levin Subject: [PATCH 5.4 048/158] arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node Date: Mon, 23 Nov 2020 13:21:16 +0100 Message-Id: <20201123121822.249814366@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: Jernej Skrabec [ Upstream commit 927f42fcc1b4f7d04a2ac5cf02f25612aa8923a4 ] According to board schematic, PHY provides both, RX and TX delays. However, according to "fix" Realtek provided for this board, only TX delay should be provided by PHY. Tests show that both variants work but TX only PHY delay works slightly better. Update ethernet node to reflect the fact that PHY provides TX delay. Fixes: 94f442886711 ("arm64: dts: allwinner: A64: Restore EMAC changes") Signed-off-by: Jernej Skrabec Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20201022211301.3548422-1-jernej.skrabec@siol.net Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts index d5b6e8159a335..5d0905f0f1c1d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts @@ -52,7 +52,7 @@ &emac { pinctrl-names = "default"; pinctrl-0 = <&rgmii_pins>; - phy-mode = "rgmii"; + phy-mode = "rgmii-txid"; phy-handle = <&ext_rgmii_phy>; status = "okay"; }; -- 2.27.0