Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp834537pxu; Mon, 23 Nov 2020 05:29:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVta1sc5FosCyWOF8mtoEwJExV16JGy6PqW6t12dvemwKeLRS02k3r/KA3fRvBsSKu4axg X-Received: by 2002:a17:906:7cc:: with SMTP id m12mr42559945ejc.365.1606138167091; Mon, 23 Nov 2020 05:29:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606138167; cv=none; d=google.com; s=arc-20160816; b=lVRgegr7HmkhyJ8nEIMSveUlRGkljomh7NuNgnDsVTIGGL+wy1xGCfHWLd95x5h1JU WIw+Kooi+yF3IH+XHD7ngMuJayAAo7PqVrlv8DbTS6Gb3UxrPseog0QgshL86grlJl48 XAUscf4QhnGusZYPoUrB88/FjQ79RvBDicUzINcVDtsVYU16fPr0Sa0xZtiKbdjIT+7Q umaymHcHi0BWTicsZrH3yiei/5cio5zbgL7jQ9e9bTdfqzdPKtFTG+vB/C+KmukGTL4Y kyJ0/P6aTwAiryq3hfYf5D4j/nKomCXmEXY174XEK4gJgRVBGALh6iC5PEukLLS04dBI Y8Bg== 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=z8RcHh17OhE3t6UWkO+vrJf9WYqA/fjhVbzaIAJmHY4=; b=bRGBNP8wOalA9J/r3Jx8z44QcpdbYhcarmcIFLz/LyzW1ZEhC+oecPvy52ao8voemo 2t7pABcXefdqivp6HrP0ooKrynzzNWTfXqFEesSMU0y0SgTHGog4wnb+kmci8Nrq65g3 8pmFGkfD6UhtIXBdwyo4pe0X7kb27UTMUug9K3dEFz8if8DNOJYn51FZRgIfCBTBLW+X v6iGpi0A8d4Txejjm7r5t/5N7VI92AmxlgNCA8cFTqVnexBGPMw54bdRGiUavbwbTkBq J2U6WIbEqGrHXKoPW6xccxSK2dohfZk/5dhG0aRtOTQ06Qesr5nAW+8kgNi3T8gRrJ2Y ZovA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qoAR1GbV; 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 lx9si6549348ejb.494.2020.11.23.05.29.03; Mon, 23 Nov 2020 05:29:27 -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=qoAR1GbV; 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 S1731121AbgKWMcm (ORCPT + 99 others); Mon, 23 Nov 2020 07:32:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:43394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731048AbgKWMcS (ORCPT ); Mon, 23 Nov 2020 07:32:18 -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 38F1820781; Mon, 23 Nov 2020 12:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134737; bh=IhGgmv6GRH6dqQNgZnbLA6pljOrhQsyYQtqCzQ50IpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qoAR1GbVTBsDdJdc8xwxvGPjF1lyPQIPQjmFgNIg7fRkGRfI9Jo4jZD3/WgzpFfci 0Lds+mdLfYll2EHdBXZSSbn/UM85YcXgxrqbe8N+wQD2vBG39FHfHvf2bldHEe1ROp GJCEqeYTTX+Tn4Bf6euwfz3wg7VjJEBawLFIcjNs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , Sasha Levin Subject: [PATCH 4.19 37/91] ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY Date: Mon, 23 Nov 2020 13:21:57 +0100 Message-Id: <20201123121811.116600647@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121809.285416732@linuxfoundation.org> References: <20201123121809.285416732@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 e080ab31a0aa126b0a7e4f67f2b01b371b852c88 ] The Ethernet PHY on the Orange Pi Plus 2E 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: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)") Fixes: 7a78ef92cdc5 ("ARM: sun8i: h3: Enable EMAC with external PHY on Orange Pi Plus 2E") Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Tested-by: Jernej Skrabec Acked-by: Jernej Skrabec Link: https://lore.kernel.org/r/20201024162515.30032-5-wens@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts index 6dbf7b2e0c13c..b6ca45d18e511 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts @@ -67,7 +67,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.27.0