Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1406984pxu; Sat, 24 Oct 2020 09:40:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvuOgUXthfzjy0Gwrzk3pQJZbfL4B0vvTpY415gCS/5AbpaG6TI2d40Ss4W0fTfqoV2let X-Received: by 2002:a17:906:bc42:: with SMTP id s2mr7298778ejv.251.1603557631548; Sat, 24 Oct 2020 09:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603557631; cv=none; d=google.com; s=arc-20160816; b=R102EOjFKn0iR8PrI/3ih34oEcHj02AJSPEanf4owRpY6uq4/EGiSbB4KkEiXmwrre 8aa5E+dBsJqe1rC7Slb9fo2Y9gnu4Ii1liajjX0FItvebz9G1kz0bIwPtXLY4wNeiVn6 a7XIeOT5Bc55Sbxablc80w6ebt2r7wdqTYKu1byO4ua/bFLpkqF7HWtVCSOTV1a9B7Wt o0dzC9heSc3SPW4k+q3cSM/C5hQ+jNBIOTXNJsbcyB+v0Lt7nIXoHP7ylbHrYZVFURu0 erFXs1xIZvt7r+yL4WS84OK3DE/g5BxHFEnYCjb9Il5u7i4XMDUR9xOABZAISNBeuQBi zmgg== 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=7OeJ49rCgFVg6++gU7GsQ0Y33eDFJMZ60gQlv7C1KPQ=; b=XVWNv2vhsuW1deZZcgzxVW55uTldJZW4VL/1ylY/e4OLQfzebV/gpGQ0IvjPuT/TBT Nia0flhZbBsckDQKbWnlQtQFhpIhdS+vdPVXgis6y2CeGpyCuZonGMuPGecei+k29U/M weSESrwrmn28TysLcHTsIuulPtDRazl3wYOG4sxzsyRoObYdBWFU2iCT+t9g7zHizmXP iyzl0yw+ogLDakByH8kJTpESGlcfwqnSgPOP87p1/FjzkBybR0vDXuD3t+zztZ8t0Mmt Div5/yUjXSHPdO3gxsdEoygEBwjJCUWLcBm2gTxOFL5XpkT2M04DaFLDGCHHlREOLNFJ mtoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2oNXXg64; 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 g4si3400892edy.98.2020.10.24.09.40.09; Sat, 24 Oct 2020 09:40:31 -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=2oNXXg64; 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 S1762220AbgJXQ0A (ORCPT + 99 others); Sat, 24 Oct 2020 12:26:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:45546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760182AbgJXQZ7 (ORCPT ); Sat, 24 Oct 2020 12:25:59 -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 7AE102225F; Sat, 24 Oct 2020 16:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603556758; bh=VGOq5hjYah4TRO7kF3h5ip33hBAACBFqbRqzRWwBjWc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2oNXXg64EVBeQiiD7/lUclSzpODCOwB2mn9gijGF+kW73UQ/jl5VX8dxtzIq6xKY+ nAe/eGEelBsjtVApQP+485HHPDix5czv6kjhPg5b0dwGIG+q7S8YHags42k4y96KK/ idTKp3R2Xjdz8qiF8++0npBlIjc+HGMINSLsJ/xQ= Received: by wens.tw (Postfix, from userid 1000) id A8C0B5FDC0; 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 04/10] ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethernet PHY Date: Sun, 25 Oct 2020 00:25:09 +0800 Message-Id: <20201024162515.30032-4-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 M1+ 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: 04c85ecad32a ("ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board") Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts index 32d5d45a35c0..8945dbb114a2 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts @@ -130,7 +130,7 @@ &gmac { pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-supply = <®_gmac_3v3>; status = "okay"; }; -- 2.28.0