Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1239315pxu; Mon, 23 Nov 2020 15:38:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyP4IopEY5Y5uqQ8hK9heSMgygV8WHxkMv0t9OrwBgRu2ByCf4FM2deJxngM2aXVOaYpmqO X-Received: by 2002:a50:a40a:: with SMTP id u10mr1518782edb.16.1606174716076; Mon, 23 Nov 2020 15:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606174716; cv=none; d=google.com; s=arc-20160816; b=Pf9pU2nO1Hb+Efjfp3kMuuQ68EN+uaW6d+FVaDd+ZqKzf2fWpHRKOVv7MHbwOTMUNK LkFh1gCA7qy3NwY+lLYzGueatI3YwNzMVgBuyltErNaOgMBEfyNXLH0ZSBfr352NBs1I ChGOLgw57UZjjRcHeE8d22quB7+Y2ojssXlyJmiJJjP7oMTNV3PC3JbhNoGfiIfLHor0 Fub/VYWkWS251ABWOrcqDQXACmNNvHl45Ef80FAQLVLUKnZMP4/B98f3l6nDf+ii6yw/ WcvAYIkJQCTqyIvkami5dq+qmqjG+y4Y/+3Fo+tt7RA0M55CnCJCoMP4C6TOt9wux+CB 33Wg== 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=6kwEdC47vnTDf8gKCOfWWS546J+kBLZmjp0koSwZenM=; b=0qjHVDIJrkSH632lRYrlamvYZBfhq6lLveWnBRcXE0Xsh2xWtrBR0Qv+mXSlUjpvw5 0zoRVOCGf2jYMGzOP26Fs+5iUHGVbTJZ5hIn60PrxrwZvqruCDYKxWJpWjML7LL5yiAq 9DzoByHrm5rWayFKRtkE4fdySCdChD4GiqW1PfeMtesGdv6XiEaGq1Iloa/o8IFMSUBs aic64bxl1BhOBgk65T8JmZYa2WjWknZQb7cZpTaKsHRdd1CG6tKm/7v457hsFG7ctnx7 eTGgeMYKIxgj+NMofH4odz9ML3a82ce4kpaE4q3tANMt3CGKJgyJ5iuMVBylG3E4x0WF Y/CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rwvdnTdw; 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 a5si7501696ejs.534.2020.11.23.15.38.13; Mon, 23 Nov 2020 15:38:36 -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=rwvdnTdw; 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 S1731866AbgKWMhE (ORCPT + 99 others); Mon, 23 Nov 2020 07:37:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:49104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731836AbgKWMg5 (ORCPT ); Mon, 23 Nov 2020 07:36:57 -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 7FA982076E; Mon, 23 Nov 2020 12:36:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135015; bh=l+U/pgZyv/TlLmRp7fGnOCMyT6QEnPtpJoTIhE0t2vI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rwvdnTdwwfhJMukxaC93V4NqYBa+OkYsC+IMsdftRKV3XrtZD2daZdqavPeoJh7J8 7rjOyiF8s00POEzJZGI618wvtr0/jjACR0c6IjkTPdzXKDVLhjV9CXm1Rl9Eidbodn DYfaUJJey1mxpsKR5eypfeyIbDKLZJXc/kSAt/ng= 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 5.4 056/158] ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY Date: Mon, 23 Nov 2020 13:21:24 +0100 Message-Id: <20201123121822.638190516@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121819.943135899@linuxfoundation.org> References: <20201123121819.943135899@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 9d34eabba1213..431f70234d364 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 d9be511f054f0..d8326a5c681d4 100644 --- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts +++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts @@ -183,7 +183,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