Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp47592pxk; Tue, 15 Sep 2020 17:23:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRqdNAqEXmvRws4N9dmLFVSWrcXBJ94sRxHUxRddChQ8FhGQkrRYJI/kgmmYR0b/hQ+OUU X-Received: by 2002:aa7:c6cf:: with SMTP id b15mr11812591eds.134.1600215809512; Tue, 15 Sep 2020 17:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600215809; cv=none; d=google.com; s=arc-20160816; b=T3lM6QHDw4chKLfZIyahjWRW4tG5/mRcjAHzrjDVl0+fQYSZRzX0bmyIyhDxPSm1W3 bBHw+kHxiQzk9jHbPXOHcez2qFV9kA54i3pYkHdJhHVfo2vb1uu5Htvsj4R45tYN/lHR 4ZgxZtdNq0cy6/nqXhJKNR4cx7h6zrZkZb3rlR88dUv0wuF8P1mX3P8Ix87tFfh/d9WN ypz3gdMB3zRRBKbxMyhpIMJzzA+BmXXBFisGWg9QD8OHztdc1QHklQoptZT1ehWMV0z8 EaaEVFASb4yxBfkKTRaUZcBuQ6podewM8EIDvoQcPSqsOA5wk3CpUCgr2WUf5uDaeToK 6bQA== 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=rP6EcBn29jEnUIjmV4Bh785jZT/cYWmqSQGdhsSVEMk=; b=wCxcBAM/VRquC4xvNbAoP1/I74BbgKjpwqq9IxdXnrbplyl4ojSkjwuf9cKVHwU5sy 437nKVT+uh6oIOqdCud8xbWMv22jl4D1tvD8IzzRVqDnVsvoQQyb/+HThykuPZZ41ZtF bVW+V1GpceGIKX4OJa6Zifv07utfMxEmJiJiulAhp5x8DrUuDnK/9GmPpjbe/wl2fd51 gb+b/HouBjKdOct44xxkfrok0xYyidxLPLRuzly7TqaqPnywoDK/Ot9lhA0KwcquLxak ZC0PX+iqQ/vCOcE+7d1Tg22UmpHruDN+n9kVSPGicX6CA6TSEZMhCf03JB/7LdflJGSK LdDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x+WPkDyp; 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 n4si10751812edo.589.2020.09.15.17.23.07; Tue, 15 Sep 2020 17:23:29 -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=x+WPkDyp; 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 S1727231AbgIPAV1 (ORCPT + 99 others); Tue, 15 Sep 2020 20:21:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:33662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726812AbgIOOV6 (ORCPT ); Tue, 15 Sep 2020 10:21:58 -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 BBEB422268; Tue, 15 Sep 2020 14:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600179446; bh=k8c3nZHzRZk9w8IeCVgw9DWgfPrClQ1VdaISZXLzUPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x+WPkDypZHxeE4XNYTMK1J3UcAW/IXzge9hqvRC8B8XntzZCn3+jSBrMbSxUsSj6k rNaLBndNqNevAWylEtuTrBKnm6tE33e6mwQQfmoSGLGknIXitDFQ3YKjx/UJPkfekT q3lnn4e6EQXJCE13y+tx9QbGkpdu73OqSiNizQEU= 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.19 33/78] ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id Date: Tue, 15 Sep 2020 16:12:58 +0200 Message-Id: <20200915140635.234081767@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200915140633.552502750@linuxfoundation.org> References: <20200915140633.552502750@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: 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 ab01b75bfa67d..f6b6e3c9ca8aa 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts @@ -175,7 +175,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>; @@ -193,7 +193,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