Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp831760pxu; Mon, 23 Nov 2020 05:25:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvXrFwLJFvz4ZOU6NK1jVHmwIqJ3zlShmT28+P98Rf/QRhQLo54DiudtkfVXN8wPN8dMTa X-Received: by 2002:a17:906:2f15:: with SMTP id v21mr2481910eji.415.1606137941562; Mon, 23 Nov 2020 05:25:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606137941; cv=none; d=google.com; s=arc-20160816; b=WEvVzLkfedSIko+bhV235CKT4K7KMZj7QZzQWMiWfXiwdhlGYj8zaFMJXclZCX6zoI /2rIbb5ZqDwEmoLxzzYkEFHtb6+MRuvuBNWL35SKHcKesTe/0kdq9CYdlj4LF1he4ZKk jB+qtl7QXRZjwA3kbq9M9OzIkC4QonfwS+aYZ59rXrc2x8OxRGrs04/l87nm4/xz13/W RjFaJWra4rAohDbWvHOp8U9OK2bujk2nAbg6y0hPD8TamaOdDdzxaPKgEWyCR+sqKdXC K0BYrUNTP0TXLNyT3+7EAHNuBRd706Kd+oPPeHqMw/vcZfr157Z1+6TvGV5gOXlKBrDk JPRw== 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=lEpZnszaNPDt7QVddyMNVmBIvw+7P/hlIWpWfq2A7wE=; b=cD/b+gwfeMYRg3N79ZVFxt7lmTIwLLV5yBjD6kwAKtU/+rDrs+3GUwVJYn0rovdwXb hHWtHWpo6kbhl3N/WTKicwq+cQW74m7j6B+CwxpcRS1per0h72xWMUUyNuthOgfOAM2A +yojAfz/LmyLg5M2E2u21fW63opC11Hz2V1Un1QavyQiJWk3f35ArLqEI6NzqzfOXbDW KIZLuDenRBbxMBGcne3DRNDZug88dbD4Rd/srbzOHHvz6vegKdGuKCcsBkwE63Jwk8gK kSyaM/wqPmFBWzpHqP9lBWBqx3CDpo/tatUTRkFJGT8/8tOvIOgg2k5nAaKsrsZrQZZQ j2fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2YI13a2V; 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 os18si3203454ejb.506.2020.11.23.05.25.18; Mon, 23 Nov 2020 05:25:41 -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=2YI13a2V; 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 S1731006AbgKWMhl (ORCPT + 99 others); Mon, 23 Nov 2020 07:37:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:49810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731929AbgKWMhi (ORCPT ); Mon, 23 Nov 2020 07:37:38 -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 9851020857; Mon, 23 Nov 2020 12:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135058; bh=eGD28M00B+3pibXdKwX85S5eI1evxINnKsxwsrI0J4o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2YI13a2V2AJEscrAwR1wqThg1dbZQu5nkc6dLPrX8JAgsNPa+9Vb+rqRZF1/vj9jH g5dgpV5vvBGC5j2fN/nfmCKJmUqqLxdgSuNgcOCGhk7BpSI7PwNtq+8Fqt/golzvva unFhJ5wpGELBdZl/3eywl08AJ0aGWw7420wL/2Go= 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 5.4 059/158] arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY Date: Mon, 23 Nov 2020 13:21:27 +0100 Message-Id: <20201123121822.787536568@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 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 208373efee494..7d1e89e5b1ae4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -127,7 +127,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