Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp29065pxk; Tue, 15 Sep 2020 16:51:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0ldI28M2F4ur4A3087xrP0d+ECDCIKDqeLsmenD3rXFdgFn47Bt+Mbbpa++vocskvznmW X-Received: by 2002:a50:d65e:: with SMTP id c30mr25077360edj.57.1600213874106; Tue, 15 Sep 2020 16:51:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600213874; cv=none; d=google.com; s=arc-20160816; b=lvPCGx6oovweMxOi0/B+qd4O17PdyOSjo12vz+wzdROreFUTn8zoJyZXVU+GeIGfP5 6swI5txq8dk5g5A954mAgdNRp/03e1YNHpU0EWybBcKlOSbMn1man6i5oMTUZ9LLyOQL EZ0LotUouMoEbccNBlE/Ih/qW5tS+eF/aMzzxLOImGULVjEa7BlWhV+IHahMhDjBaDvT jx7Opa1A81CWgYSJMEQFxrJ4STWdTknAPdhbMh8Q5TjWNX2T62wX5e5k0CHoxJBgetcZ cUjiDylKbc6Akdv41QKbhlkSUaTsB/DjL9MNMLx/SBmWk1PXafyOyyKodui2nEvUIDdZ hQ0w== 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=ffqYeAfyRycVWRfzAOCSPpyOou2EqmxueDAlK1XI4NM=; b=mo3EIdeEOuKJLw4d31JFeRAom9auIDHgnbB6fZcRnFscqc1b5HeA0JUfm2fr7kIBNi NaDSWInpCta9qOEg5xQ6oTL9W+MG80fNS9w0D3JBfaZ57B5sBCMbm/X46egaXfMRKQkO lf7v6MPZf82eaC9Vkf27R/ZlC+fvBgwlsRfrvH1JkmC+0JwKjfKcsY6UzIFW8iuqmqyL hmPhTJ6wsF2vziPB8+oge4ph+G86d4+YMbQZiTmWKRvy5QXT0mRG/Cvlht6X4NcnORBs 2qhmaEPtSoe1IdBGpxVYE/8LXkjXBm5KAmA2qcEqUAO7k162XODm0VGwrGc7urS+sGHb dWjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yDKqK8Qn; 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 df26si10856980edb.486.2020.09.15.16.50.51; Tue, 15 Sep 2020 16:51:14 -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=yDKqK8Qn; 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 S1727408AbgIOXtA (ORCPT + 99 others); Tue, 15 Sep 2020 19:49:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:46456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727091AbgIOOcn (ORCPT ); Tue, 15 Sep 2020 10:32:43 -0400 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 17F6023731; Tue, 15 Sep 2020 14:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600179856; bh=h1uH8Qkt3dvAqyDoC5+z/X5vEb4Cn5p7spXkszgoEbM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yDKqK8QnBS1oUhfud5bNpgM/1EJAqHMC8x32sgBZYubrPc8zhqkIrMCUd0Kkn2Rfx Rl3iqL1Vv2ifcLCpDKbm/fEa4SYw0zn86jSW16pIhp45RzB4aijve8t55TKpTIIJsx FBrZvj54OpFL6TaJ9DV03v3C84xoZuEMPoNDk+Tc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Healy , Fabio Estevam , Shawn Guo , Sasha Levin Subject: [PATCH 5.8 013/177] ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy Date: Tue, 15 Sep 2020 16:11:24 +0200 Message-Id: <20200915140654.275884239@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915140653.610388773@linuxfoundation.org> References: <20200915140653.610388773@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: Chris Healy [ Upstream commit 5cbb80d5236b47b149da292b86d5fc99a680894b ] Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board. The end result is that network receive behaviour is marginal with lots of RX CRC errors experienced and NFS frequently failing. Quoting the explanation from Andrew Lunn in commit 0672d22a19244 ("ARM: dts: imx: Fix the AR803X phy-mode"): "The problem here is, all the DTs were broken since day 0. However, because the PHY driver was also broken, nobody noticed and it worked. Now that the PHY driver has been fixed, all the bugs in the DTs now become an issue" Fix it by switching to phy-mode = "rgmii-id". Fixes: bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Signed-off-by: Chris Healy Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx7d-zii-rmu2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7d-zii-rmu2.dts b/arch/arm/boot/dts/imx7d-zii-rmu2.dts index e5e20b07f184b..7cb6153fc650b 100644 --- a/arch/arm/boot/dts/imx7d-zii-rmu2.dts +++ b/arch/arm/boot/dts/imx7d-zii-rmu2.dts @@ -58,7 +58,7 @@ <&clks IMX7D_ENET1_TIME_ROOT_CLK>; assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; assigned-clock-rates = <0>, <100000000>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <&fec1_phy>; status = "okay"; -- 2.25.1