Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1238008pxu; Mon, 23 Nov 2020 15:36:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJxuzFcBJkh6Mvu61X67rDIw8Fg6S5BNjyDrr0/DyPWP6E6eUgrEaN+QiPI22P4Wgv3w2O X-Received: by 2002:a17:906:fc4:: with SMTP id c4mr1875810ejk.490.1606174562756; Mon, 23 Nov 2020 15:36:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174562; cv=none; d=google.com; s=arc-20160816; b=IamljRDcDQ5DOpq+FdnGc1t0eKOt/Zj1n4JQDgGQMwmbKYoFCCxitiErn69PZgeTPI HlrXXIV+5BPw7EKN56CMJ5HyGK0cY17Ly1/gu/QppwyuwoZYLtjB2D84bDlXImosbE8G tvbMeGpOX4D6vpbyl1eWZOinE7C/aoOu63QqQPo2ETpN0tObGsgyi48xz7PKH9OLqgeO alTxe7SFJ2wtPgvbQXxA2DLd+7gn5j9/sVaofgtzh9wgUxF0OIYjfZd5d+WkUFe2h7FY bAOqOLmYVecBk8S+tONO5eAalNokRZy9fC1a6+JV5tF4anO8Z9s0F/vPXvot5OGxg/O9 R5Rg== 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=ZRE0IF+z/VmpBOhk3cO0k556B6X+cczY6/y3RnQNBfA=; b=hyYFOFtTkEB9RZqAzqhJd0E1CiN+ZBQgnA4BV2pUCp9mk98k4X0rRkcc/u+fn6Vbuk dyNDTpshIxd0rdYxOHlZktfDrp28YU4QP3liEEv+/PlWgiHevKG8UqdNmnCf8tPqTrk1 /U1/dheN8p78dw7Sp2sV+R5jNAhI2rQ9SBARAzFyGLac466xVKzCUgODy/RwgoYTx29/ 5Pp+87ZZs45iugAM9ubt4Ilc93BwGXT5C5t3OEFM86eIRWV6fzM5+W4gePyaN17mlBa5 Ap87NyYVDjD3Rv8OPmS82axyLWoMlgeppyJbeWUPYdpJ55R9sxOnCuCOwWaLIOpA/qsk id3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LILBMYfI; 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 be20si7758670edb.423.2020.11.23.15.35.40; Mon, 23 Nov 2020 15:36:02 -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=LILBMYfI; 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 S1731142AbgKWMcy (ORCPT + 99 others); Mon, 23 Nov 2020 07:32:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:43866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731086AbgKWMcd (ORCPT ); Mon, 23 Nov 2020 07:32:33 -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 510382076E; Mon, 23 Nov 2020 12:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134752; bh=i0JLtIsLsB60KnJBANGpwL95XLftI2liUKtcr7CUQEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LILBMYfIZ8mejlgND2bKcQDEi0ZsZp4NhVLdUev/wpRYDZN0+T8u+RhCogfrEKddR 8/DIkcTo0epq9bPOZtNKTJYz0em/f67XknzStPMW889QV8g9BPrI6fBgsfGzlHgSj5 FtyoFl8KiBrzpWEHLfAPB2RVw8mo9C8VcJp2AOto= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Corentin Labbe , Jernej Skrabec , Sasha Levin Subject: [PATCH 4.19 39/91] arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY Date: Mon, 23 Nov 2020 13:21:59 +0100 Message-Id: <20201123121811.212732948@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: Chen-Yu Tsai [ Upstream commit 1a9a8910b2153cd3c4f3f2f8defcb853ead3b1fd ] The Ethernet PHY on the Bananapi M64 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: e7295499903d ("arm64: allwinner: bananapi-m64: Enable dwmac-sun8i") Fixes: 94f442886711 ("arm64: dts: allwinner: A64: Restore EMAC changes") Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Tested-by: Corentin Labbe Acked-by: Jernej Skrabec Link: https://lore.kernel.org/r/20201024162515.30032-10-wens@kernel.org Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index 094cfed13df97..13ce24e922eea 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -97,7 +97,7 @@ &emac { pinctrl-names = "default"; pinctrl-0 = <&rgmii_pins>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <&ext_rgmii_phy>; phy-supply = <®_dc1sw>; status = "okay"; -- 2.27.0