Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1236772pxu; Mon, 23 Nov 2020 15:34:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiMoo8Xt9GanI29UcpAt+2TQIMFHny33zfdAsFrfVUuniEypj66i/zYvgCsrq3/N9fN0pc X-Received: by 2002:a17:906:bc43:: with SMTP id s3mr1816968ejv.411.1606174449286; Mon, 23 Nov 2020 15:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174449; cv=none; d=google.com; s=arc-20160816; b=MjnLNmHgVBpHiowymT264MEh8XWfqMf5C2ZntVk7vVvX0BXeIPb3a/50pOwUCD2blO wjoXrcIT2g0hPRNW23dJNXmbk2tOhv7FixO1Q+QPta8ZcGR5BvOMhl+ZgWKKRaO9ndHa bGzZAYUQixEMWAI4VPSR3JtdQ3Wj6SeMnD4ak30hRMOhDSGEOf+I0MsW/9IgWswZCnSS N9IwOrTfxLL0WDe3tpG/0mGxXamx44hvYsA/I0APPmW9i3nkp1K2krAVEQatcm5tXumP GgdAG5GSUNPKx0T8cDkVCg1b1c0FxKAdU7wKaGRi5alIcHNGMYvXriLrrF5QiOcfK4tG T40g== 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=P/bywRqSNm2dCESphwOCLz+q+uBIDSSq9d6LYR9mxJ7Ynq6Ild0fJfhPk5CrpRmk82 OkwRGDVyREiYlcjJH8jNfobpEpJUvot0RdM4ioC2MKKoC9lsO3FeDkra5RMrhGg2cVnV 14epcL2qtRyHfvwMpx9CZKxMBNyFNRaUf4NLiGi/pLM8SnAtq/qRRoDvQ5B1O3cPy12R 2e93lmHM2rKZT1F3g815AaOPLb846wF7tOPexxMDsmRuiErvSpY4fCwLYBpE+LgHkjwM eaRfgUX87EqT4vRXJWXDqVXugBvzqWcxGAJveiC/2brtCDX65UFCnB5pCqeCDkU4FpSe FUUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rXTGNhMF; 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 gt19si7368120ejc.570.2020.11.23.15.33.47; Mon, 23 Nov 2020 15:34:09 -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=rXTGNhMF; 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 S1730792AbgKWMaz (ORCPT + 99 others); Mon, 23 Nov 2020 07:30:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:41778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730772AbgKWMav (ORCPT ); Mon, 23 Nov 2020 07:30:51 -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 4E4C920728; Mon, 23 Nov 2020 12:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134650; bh=/CuCIyqCGWl1pj0qaP1PVDXHdanIKYc2bl6650nmA0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rXTGNhMF+tE0D7tP6XZpyMZNkQ5hMiHNNGAo0ssIFkcsHolwA5IFN9X2sTIe2jCPz KHAOPIuY0HnBdYIyb1OPJ6Y0dxbEWCqZDpBEqC5ncz1PXsPhzgJDbUsW2oF9ZLm8Pb XbREB5J2vR4RAghxpX28qKpqQjFsQOMUbz6M1wzw= 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 4.19 33/91] arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node Date: Mon, 23 Nov 2020 13:21:53 +0100 Message-Id: <20201123121810.927279546@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121809.285416732@linuxfoundation.org> References: <20201123121809.285416732@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