Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1492559pxu; Sat, 24 Oct 2020 12:30:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvtCFccImDfhEXK92uDUDRgAn3L2220bfsynRv+51u8RI32X0l2BegX+drMKFC9Ru6Rxm0 X-Received: by 2002:a50:9519:: with SMTP id u25mr8705295eda.102.1603567833721; Sat, 24 Oct 2020 12:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603567833; cv=none; d=google.com; s=arc-20160816; b=0VoD3Cpfl1nC3vj62q+1VXx1Eer6iBtRA8kATAOHEAnTVMeNTT/5J8pidN9qs6EzS6 x1tppjXXWScDnI4VRUzaWU11f0PaJEjWjbhRil9B9Vi5QghV+fOtFlOSq/gBEreK6bvv 3z02qS+nHCgEpnBYL3cUbnaKa9bVTo4kXPdC1e7tPXYXZHREuHlPQoHuDsjl4uEujrkJ BVb1THOIF1WeWmvCG6ykdKzTCbrTmZcHrAu8Dc+cNRXZsxJRZ+LF9DHjbK6WDpfFSB7+ ajHNPB78K9qcmXiB0qCnqKiKbs95ftEphfSfV/RaYsNM0uX92TT9uX5pkBf7DxWSurHs nHAw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=b+AIjUQyE2N6XwNrzRTJuF7jy7EWo96eD0qbsWxbRMY=; b=emIMWVu2qioK6RQAQBDln0570n3sUexcpvAg9cFqLrrsf+Oe7P+1xOgo07bCJeP153 xvMoZW1U7vsD1Whi1cdYjUXmHSGgvsq/HZpke74yV3phXYdoQdxhVNYgnmvZu+vr/NRR SmVlX1sxdIK2ZLhvROZIPWtCk2AVuB4T9CccuylS/wKTXgcYuFsY8vSS6yhBwZiVKGX3 4JTIT0MmCndw1P4xkzuPCNTrzspm9oHW3xFNuyPnjULq95SQActkf2C5yopW8izLYWet VZPUFc5SkFVCFwE+EU7otMj8rJEa7ni+eUx5a6EK2m6hI+extEClJgtDwVp6B+SaO4YN 6OSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mU2s48k1; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw9si3779230ejb.176.2020.10.24.12.29.37; Sat, 24 Oct 2020 12:30:33 -0700 (PDT) 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=@kernel.org header.s=default header.b=mU2s48k1; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760125AbgJXQ0S (ORCPT + 99 others); Sat, 24 Oct 2020 12:26:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:46122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760426AbgJXQ0L (ORCPT ); Sat, 24 Oct 2020 12:26:11 -0400 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (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 95C582225F; Sat, 24 Oct 2020 16:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603556770; bh=YQRvPLQkc+2tqPQ6NrtoOsSzVY6oUqPsclAtr+kLRuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mU2s48k1dMnS7g2lALBkSZj1ZMEFwy4/4Q9aqg/T3Kj381N37nCMI2ocA+iVUIfd9 CoqZqCJyq9bpQOVglMoG1u+55yiuAdOzSFLhSXFs7j/j20Jjs+xTY8n3Q+fudfS6qx 4dhCQaQBMBhPZhbhhaotPtFYFzS3f6OynKeYvFvQ= Received: by wens.tw (Postfix, from userid 1000) id 17C446036D; Sun, 25 Oct 2020 00:25:47 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Jernej Skrabec Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/10] arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY Date: Sun, 25 Oct 2020 00:25:15 +0800 Message-Id: <20201024162515.30032-10-wens@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201024162515.30032-1-wens@kernel.org> References: <20201024162515.30032-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai 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 --- 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 3ea5182ca489..e5e840b9fbb4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -105,7 +105,7 @@ &ehci1 { &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.28.0