Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2351300pxx; Sat, 31 Oct 2020 17:44:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXSpAtiYr+O8xzBO3CsyjgRxOtKjz8vMzYEUJYUP5UCS+qij/xTxIJRBJcOQXMm7aD/OMx X-Received: by 2002:a17:906:3541:: with SMTP id s1mr9340118eja.413.1604191440670; Sat, 31 Oct 2020 17:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604191440; cv=none; d=google.com; s=arc-20160816; b=XQRS9ytlnx0gWJsUX2A6/+LUHqCNQ9LZ1zcPmojRForAZUaVjVCg1J48d2ceYVTdAw 5cdE2YDfjttNoC9ps7SKoK2yUhUxHv3qifjHw5uoCMHYC9QDX463YXqX0Z1950rgGSbb MDz6TFI70YpSzgMgeAsXlQTjO5j1OdIHw5Ks3Cx/oy8TPE120UJ/mFtzthhiy+2Q0Ia1 zkRBr4fg2zqPKdBbFRDcA6CKRaXJpnFVmANOMTPP9H/UfTvw0sH2NxoJKbLr3QGSnwwR Z8MlAd+0QxJE5WeHAPFdsr8lWxxUhx5kpQSVovXFRSy2IUK5Gh00J6WixWbWuZnq/BLr oMGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=olScEQl6H0YCOqc6EQSz2DkdgAy2sQbhKXxkfkBnKGA=; b=qLEwd9w/jTyBLEcKwdsrxzVsDSjO1qEbg97BFDdOQL81jvyyKfmIm8JUtIj1B9FwbX EWJiExCubUCNMKKaYoi/FSIzPcxVUTpn3A64tuVpTkhP8j40iRffD2b39QDJm2ui4aGn 1fcuTnLq0r5y6v+EHv/XynBtBPxgCniz5q/um+XyVESvlH/uVDV9LfPoCX5zUcDEUzHR r/4FJiVGQZKKudKrUGwcRdtlfggA1MiCP8GLmRAWk+VDt/awXX4YBN9LNXCkGjs4T4nK r0Cb1hN1uotTYSItWE+QCOu9Ae7FMvhy3NvW0WJXmjbVrfImYTKfS+PynNL3Sp7JUK1S wlTw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si1591723ejs.570.2020.10.31.17.43.21; Sat, 31 Oct 2020 17:44:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726295AbgKAAlX (ORCPT + 99 others); Sat, 31 Oct 2020 20:41:23 -0400 Received: from mail2.sp2max.com.br ([138.185.4.9]:52300 "EHLO mail2.sp2max.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbgKAAlV (ORCPT ); Sat, 31 Oct 2020 20:41:21 -0400 Received: from pgsop.sopnet.com.ar (unknown [179.40.38.12]) (Authenticated sender: pablo@fliagreco.com.ar) by mail2.sp2max.com.br (Postfix) with ESMTPSA id 046E722A0003; Sat, 31 Oct 2020 21:34:35 -0300 (-03) From: Pablo Greco To: linux-sunxi@googlegroups.com Cc: Pablo Greco , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Hans de Goede , Icenowy Zheng , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: sun7i: bananapi: Enable RGMII RX/TX delay on Ethernet PHY Date: Sat, 31 Oct 2020 21:34:15 -0300 Message-Id: <1604190857-3078-1-git-send-email-pgreco@centosproject.org> X-Mailer: git-send-email 1.8.3.1 X-SP2Max-MailScanner-Information: Please contact the ISP for more information X-SP2Max-MailScanner-ID: 046E722A0003.AD24E X-SP2Max-MailScanner: Sem Virus encontrado X-SP2Max-MailScanner-SpamCheck: nao spam, SpamAssassin (not cached, escore=-2.9, requerido 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-SP2Max-MailScanner-From: pgreco@centosproject.org X-Spam-Status: No Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: 8a5b272fbf44 ("ARM: dts: sun7i: Add Banana Pi board") Signed-off-by: Pablo Greco --- arch/arm/boot/dts/sun7i-a20-bananapi.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts index bb3987e101c2..0b3d9ae75650 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts @@ -132,7 +132,7 @@ 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.18.4