Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1446815pxu; Sat, 24 Oct 2020 10:57:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXRu648/2uhL5t6l49iGfORlQRVeFx2RkK94dTcpW4p5mUjxHgJWQK9rkSGi9akBpBELCK X-Received: by 2002:a17:906:240d:: with SMTP id z13mr7891233eja.267.1603562273211; Sat, 24 Oct 2020 10:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603562273; cv=none; d=google.com; s=arc-20160816; b=IGRBWoeCcbG7nQJDeYTsCyWQ32DYsvah7YwsndUnI+aCDX50hxjzjFp3r4+ny1OZl2 4ErIP6RPt8nzVU3s6TEvIHWrmEqyfkXF5SnsOABWJ96sqyZu77YO/lUwbT599LwAzuJ0 2yKeMfRsuGyY1xRAQbucmM7epuaPSS/HwIROq2C3b6woFRRQCQtHbsGXck9INWn7w+D+ MqWMTRTyyRp+GOn5xJK/VAVMx9IQ06sGSJHJq4CpZbVWP90k7E63AnseZtsPqglLwTsF 3Os7nsTA6rv7mi74iAO+YuR58eojhvaGYKHXcAvijoTPPYQ3f02ysFC9rkQEuXW4/cMu MA3Q== 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=boSimEaQiHwnl/+824sh3MTSRn8kGxoxvq/kw+fOX4k=; b=tqYkn6MSGKSxK/uyZ/DTFj8Gn3ntVYVO1w3MRi1Lk9J7Y5WA2OOkYrkls1honM21v6 5HJpq2wfad8DNviGmXMStAjDt4st67ZAJkWikBMXLS6hrFdY4FAuqoZFBHC5np8QhLzP awQ8olK7NMlY0gOe9bHrH3XkVDUnYh+/KK/NdDODfl0H3v91y+Wsyw+tVKrv6RKi3U1z HF6+RGvwaSATQ7EP0+8ZpVr+yzcToa2B7y8aYRsRXxpidxTrPYjTyOwEyqwzF84bYXMY a6XfRRL0G/uw8SayBzi2m8KYHnl30JaqTwYWSDe3x9ctl7Jz5UrFx0Zd/YC6m+4/sO8n kh1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zWKrT6R3; 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 k3si3571666eji.109.2020.10.24.10.57.31; Sat, 24 Oct 2020 10:57:53 -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=zWKrT6R3; 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 S1762252AbgJXQ0Q (ORCPT + 99 others); Sat, 24 Oct 2020 12:26:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:46130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762239AbgJXQ0L (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 A17EA2226B; 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=H279X0AxzPH1W9ziRhSoDhGJV5nVuqEtyBHwqaF/Wd8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zWKrT6R3iyfeS+IfjkalIiUYp0vLbBNh+vqz+Edt4YsERPJqZ4B6bbcqX8v13Yizn xAQtDbblGYQWYejaLegQ/uFsNR6j8tc9SxZ8aiHAq39Dz9Axw0ZqJ3Ft/pI5wFjvrr +a/8I7q99y9qvqJwa6lQ60vBvZ0i4S8IQ7xXpw7A= Received: by wens.tw (Postfix, from userid 1000) id 03596602ED; Sun, 25 Oct 2020 00:25:46 +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 08/10] ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY Date: Sun, 25 Oct 2020 00:25:13 +0800 Message-Id: <20201024162515.30032-8-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 M2+ 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: 8c7ba536e709 ("ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i") Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)") Fixes: aa8fee415f46 ("ARM: dts: sun8i: h3: Split out non-SoC-specific parts of Bananapi M2 Plus") Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi index 39263e74fbb5..8e5cb3b3fd68 100644 --- a/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi +++ b/arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi @@ -126,7 +126,7 @@ &emac { pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.28.0