Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3303128pxk; Mon, 21 Sep 2020 10:06:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRsEvsU6p6svzZBkjTQzwUj98EmLFvLxuhHgWcq9m7/1+rxwjnMoVuNtNpuRFql/k+Gzlq X-Received: by 2002:a17:906:c045:: with SMTP id bm5mr385067ejb.311.1600708008589; Mon, 21 Sep 2020 10:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600708008; cv=none; d=google.com; s=arc-20160816; b=UecskQVhs+q84PvxxvMkeScn4bX7RcnM8m/2HzIgGq3Sg7CG0+aDU7E89t0CxVLNAb Bkij9t3Dh/yBNmow/0+RrlE4YAm8qRI/8qEb7JgskCrXkoPEepWRBPXni+Zau6aFPUlD n37fX9N7wSHHbeSLhyaFNKVCCH7k6EgMknga7joWxiNdru2OLvpIeFoZZAJa1u434utA uZPO0VS02NZ7FCv3ukDiWdNTwpG53dKCHNt0QFAzGlcDUEOtXJESLKgwrODfCg0P7b6x CjfSKyauNlheXJrWZy46oVMHUInOHOZuFK0ac49J1Ui0oZDBxrz9Nxjtap2s9Nv+P5V7 0zdQ== 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=oTXALon9M6eAt26ABFHhC260hoczTRqQvfkGkh7Ifaw=; b=of5COx7AaADo1R0PHDaPi3R+bTsifHXPQ5t3/QQ/gaTmhKLMfwhyRvnjZ+JTSxNzPj 3Z21KtduyOmhIAtkij+iQIfYEhnl9DpJ+oLOexb9rwVTbMGBjQWD0NCqf7gw/47gMUy/ OozxAV8+DntKuW5G+7sK2/t4I2s9hOtw4lw1Mu+rlz2EIOefH55ur+RXMxHqqs3A081c j6RSzFSjFhMMJDAB8Wkicu8/JVT4YFsIiLOs2EQBERYe6XmORQemb8hDud0CIIKAdUGd dqUjkphNejzsG9jf9POLXeFqJG0hslO/pYd1WaWwqvP9LHcLRBRkEVwf5lHquMCK4nBN iE7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZzG5o+mv; 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 y10si8572982eds.17.2020.09.21.10.06.23; Mon, 21 Sep 2020 10:06:48 -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=ZzG5o+mv; 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 S1729053AbgIUQhX (ORCPT + 99 others); Mon, 21 Sep 2020 12:37:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:37494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727237AbgIUQhP (ORCPT ); Mon, 21 Sep 2020 12:37:15 -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 0514F2396F; Mon, 21 Sep 2020 16:37:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600706234; bh=EkH6MQz3FU4tXo3GW7Er5MP1iP/BVcBcob0potnqXoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZzG5o+mvtcGD0bOrBzVufPiN+5+fs1MOU0qNkCz1ywvozGrR+PDUqvaWxjjJ54xD+ ysKG2lHCILGMITeoYtf9F6eZtPZ8O5npwkjlbA2XrL5ofJ0HySIKms34cupD+vCGfA FA1Ulp2ZASEc7gaqUomnIcmz357bOUfo9iBDdVZk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Evgeniy Didin , Eugeniy Paltsev , Alexey Brodkin , Vineet Gupta , Sasha Levin Subject: [PATCH 4.14 19/94] ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id Date: Mon, 21 Sep 2020 18:27:06 +0200 Message-Id: <20200921162036.426435187@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921162035.541285330@linuxfoundation.org> References: <20200921162035.541285330@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: Evgeniy Didin [ Upstream commit 26907eb605fbc3ba9dbf888f21d9d8d04471271d ] HSDK board has Micrel KSZ9031, recent commit bcf3440c6dd ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") caused a breakdown of Ethernet. Using 'phy-mode = "rgmii"' is not correct because accodring RGMII specification it is necessary to have delay on RX (PHY to MAX) which is not generated in case of "rgmii". Using "rgmii-id" adds necessary delay and solves the issue. Also adding name of PHY placed on HSDK board. Signed-off-by: Evgeniy Didin Cc: Eugeniy Paltsev Cc: Alexey Brodkin Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin --- arch/arc/boot/dts/hsdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index aeacea148793c..75aa3a8f9fdc9 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -163,7 +163,7 @@ reg = <0x8000 0x2000>; interrupts = <10>; interrupt-names = "macirq"; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; snps,pbl = <32>; snps,multicast-filter-bins = <256>; clocks = <&gmacclk>; @@ -179,7 +179,7 @@ #address-cells = <1>; #size-cells = <0>; compatible = "snps,dwmac-mdio"; - phy0: ethernet-phy@0 { + phy0: ethernet-phy@0 { /* Micrel KSZ9031 */ reg = <0>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; -- 2.25.1