Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2665366pxa; Mon, 17 Aug 2020 15:59:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAU7YuudIlBosOJ48i7YyGo9lQQ8qYVNLLgjctALQQC1Z2p4/n5tJRBOV0BAGJslnVwVsb X-Received: by 2002:a50:fb10:: with SMTP id d16mr17349690edq.134.1597705182400; Mon, 17 Aug 2020 15:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597705182; cv=none; d=google.com; s=arc-20160816; b=cGC+emYDU6ZJFmWFITUnqUmD++ZwYVFYQ4DI7gnggBpNxF0+n1A6sADQ0eZiBpXVAa ehyd90I/e+XbYt5sBSUpt6ssUFvw3h7f8jxHjoNw8gsrMWubldxsmS5paO4zg+eTdES0 2WKkGU7RzTJsQvrldvTHnWq6vaV/71czvNyfZyZbvIGXUKk9gJ6LwgvrG9i/UQnr2AAs a0NjlwzefrHly/HrTiUKM46DWshfUpJBiFpHyhaHtb+VSz/t3am+s7KwgiVAapzWtb8h uv2zpy7cjwpQfzSycfttXaxjhEQ9QKUuIEqN/1dBOFk/2K4XFDZ699wVx2nlwnGQo9G/ Ac4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cNu8s7kl1iGDrG6IVUddmqBczD8pc9Z4l7hjXr/Vn08=; b=R/D083r35EbvRFubqXxTeRG2hJTk2piEaM6lGHzGgElx2hD8IobmSHPYP2nvHcS2uk YtsfmJ0+F1xllZDVY3s5S94J3cAPqUCJP50Ml60rAvmiApUcQd/z57rRizVUx8iMZvSL EeqdxLc1d1BKH4Uuv40AXAWKyPGHcPtxMvtuEIrSjploWIsgJPpQJCK4LX/eV0nLi95r i2IR6OFC4sQDy1Cc/qUsPv7BXvOBMRViAj/O6MEY2FpsIAzy58veO94TEU5u3UFYBplq KHve+SZX5du+k6AWIpaawMi/rehqmUPQYniAc0y7eRKUj/n2er51C8Al+RVSzXLXo/4r 7GCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PZn8Xzt4; 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=fail (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 a7si12147050ejd.422.2020.08.17.15.59.18; Mon, 17 Aug 2020 15:59:42 -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=PZn8Xzt4; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404354AbgHQTt2 (ORCPT + 99 others); Mon, 17 Aug 2020 15:49:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:41830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729245AbgHQPUG (ORCPT ); Mon, 17 Aug 2020 11:20:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 906D4206FA; Mon, 17 Aug 2020 15:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597677606; bh=8INbqVHcC//Bj7jsi7PEmcghl29Dn+dGUL9hboMj/8k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PZn8Xzt46J+XsXtKyqSDNkyXvVNAlQfBfJgFugS0vwUyc16XoX581o4ZOAsSA/tKQ 2GJ+lfIvdjuNeN3QrTzn7YNMlcLiHK4N7xwHvb2jRKtMt50IkZBwvdDnEbb6/quUUp R000A8olE3GwM04wtxmRrX/L0NA2MMySAzz52AGM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexandre Belloni , Sasha Levin Subject: [PATCH 5.8 042/464] ARM: dts: at91: sama5d3_xplained: change phy-mode Date: Mon, 17 Aug 2020 17:09:55 +0200 Message-Id: <20200817143835.769246910@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143833.737102804@linuxfoundation.org> References: <20200817143833.737102804@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandre Belloni [ Upstream commit 7dbf4bbf1c320d82058878bd44805724d171e1e8 ] Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY"), networking is broken on sama5d3 xplained. The device tree has phy-mode = "rgmii" and this worked before, because KSZ9031 PHY started with default RGMII internal delays configuration (TX off, RX on 1.2 ns) and MAC provided TX delay. After above commit, the KSZ9031 PHY starts handling phy mode properly and disables RX delay, as result networking is become broken. Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous behavior. Fixes: bcf3440c6dd78bfe ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Signed-off-by: Alexandre Belloni Link: https://lore.kernel.org/r/20200717233644.841080-1-alexandre.belloni@bootlin.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index 61f068a7b362a..7abf555cd2fe3 100644 --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts @@ -128,7 +128,7 @@ vddana_reg: LDO_REG2 { }; macb0: ethernet@f0028000 { - phy-mode = "rgmii"; + phy-mode = "rgmii-rxid"; #address-cells = <1>; #size-cells = <0>; status = "okay"; -- 2.25.1