Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1238264pxu; Mon, 23 Nov 2020 15:36:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTzPzU1n9DSR7EW2FulI30wK+ySDcQfYHGrj8PUzYYTpCqs40+WigVc9+7bu/Zx+FEVHy0 X-Received: by 2002:a17:906:614a:: with SMTP id p10mr1798502ejl.312.1606174587683; Mon, 23 Nov 2020 15:36:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174587; cv=none; d=google.com; s=arc-20160816; b=KZWabtZ/XtGfo7cGcBrLN7j9d4vsxoxVkdjcf1yKKdVgg5ncnLzNB3xrdEMVqBpVRB zKQm6jKia8TVnbIE4JQGab8N7QcxIvQQwPHQvJWwvfzMCvDkdnVAWZ8UaIHFU+WgoY2M 9IBp1bbfgT24LmJL7Ze6szNX7dkknwNI6ho+WhQ0RURxy6XS+APScogXdA5QzHy3acS2 rFtPWNlISEzoi5hinECiYlfZxqu93/F7pkVFdlDawMDYY9hzzjNGza4GZkM+Ye4DGjio w9Vx44DXP2tlXDFCX0fGKZbfwqqNpLTUMEhNzX6hBCs1byQLgkpkdTzJCM+xqMd8dyrz O77g== 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=A3uNiDruIhdM8cXXzamT25HfwLs2+Km3DWn5Eq98HRU=; b=eyXQTiqCG60mKeptkxsTi373QzKtW2oV4weiLgpljfdHcTX2T03t+WWhDt7iOyRelP 7eTrVA5atFgVdO8t6Wcr7eigjPJSTaEqyWq/8WImCrA+6ZUYhhbbJWi+9SF4oK6l2NJS SQW4CmlbFDAda44ZM6WwSkNAKG1jiNqOKfft0WXT3JyYBuweUrrVK/OPt9kyJQcIPuVn j7OQVqKtziVphaaBIX60wIlMonKGQ2m4v/XHlLQfSxFIzhOiuS6SIQvNQhoe18b7Vw6y PrXVEzN5mPddCNgtQONWAPQWucJEa47YxMMYfQW5FP7yyS2EQiZYWCZxSowdlzj9cC13 d6Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Jo/JkEVQ"; 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 h7si7707632edn.270.2020.11.23.15.36.05; Mon, 23 Nov 2020 15:36: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="Jo/JkEVQ"; 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 S1731135AbgKWMcu (ORCPT + 99 others); Mon, 23 Nov 2020 07:32:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:43828 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731090AbgKWMca (ORCPT ); Mon, 23 Nov 2020 07:32:30 -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 AB42A20728; Mon, 23 Nov 2020 12:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606134750; bh=fEF9kRPPCardacE5L9TP+K37eC3+sGoXEkoj/lRVbTk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jo/JkEVQrbFQZKHtv2XeAYdvvZ+45SSFmHsUL6QRDPTX8V3ijbe5aDrUCWnyx2yPw ncUmYk6VGN+btkPKIHxyHf/693KuXJ7elifr7FwIQYcDxGtC1F9MFD3bUF8otY8dao KQKu1pbXF/BGvC0FONy8qe14moLbhLcnp0xIV+VA= 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 38/91] ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY Date: Mon, 23 Nov 2020 13:21:58 +0100 Message-Id: <20201123121811.163725411@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 57dbe558457bf4042169bc1f334e3b53a8480a1c ] The Ethernet PHY on the Bananapi M3 and Cubietruck Plus have 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: 039359948a4b ("ARM: dts: sun8i: a83t: Enable Ethernet on two boards") Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard Acked-by: Jernej Skrabec Link: https://lore.kernel.org/r/20201024162515.30032-6-wens@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 2 +- arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index f250b20af4937..9be1c4a3d95fb 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -131,7 +131,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_sw>; phy-handle = <&rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; allwinner,rx-delay-ps = <700>; allwinner,tx-delay-ps = <700>; status = "okay"; diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts index 7e74ba83f8095..75396993195d1 100644 --- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts +++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts @@ -168,7 +168,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_dldo4>; phy-handle = <&rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.27.0