Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp125519imb; Thu, 28 Feb 2019 18:16:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzrOrqF0BInieVGTbn8CczIV5kma6ismWg5EyCaWo1sxUvIoExjgCuREiQCA05NXFkVl3UI X-Received: by 2002:a63:1322:: with SMTP id i34mr2397312pgl.208.1551406574218; Thu, 28 Feb 2019 18:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551406574; cv=none; d=google.com; s=arc-20160816; b=Irhw7yxj6PXzANvqoJ0Eu9MWvKEUNafqTyInSvCzLp3NvnR5vRxCcXUWK/phzLpNly WhI+1eGToq5YK8AQBoI+RH6rnY8DNpdujYKxK4M/BETKZDup86y0cTQR2Q7W6Hur4H+i pjpUq/4o3xwWPkE45Vk/07pWLb/lbeE5zgA4kER1n4iTUYFovDMqlxBTlN7KblNLRDJK QeKimZOzlYiq7J2/pcNV5BgilGYwW6vnsZmXBlbrHNbNZBUwf+H0/XsuIyL+ESNcU3Co /uX9q6p3rp+/APgu5u2Ah+XQssjzQaA2ndr7EMuemC8A5FumReBVgLMV9p4QF6LuC2/P jjpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RSuv1xvpWQA9iDMRDshoyDJfswNQ+VssQ57yHx02zDc=; b=ipM56rpL829SOSVbZjdLUcJO3f80m5rSbqXqE/OLQC7dTRtpBVDZ92vy6unpequ5fZ lmyrxqpYuDD1fTz3ldcLeevFztAEreyqcVwWJwwmZW1ko1JhsxTYIZOAcjT8wpCV7vIY R5Yt8GYNDKbHZiTgjAUY9JXOoHkHecwRgjldW5aLiO9gwwohNvqdxhzh3UOWlOWHzrSv uujwaDxlTdpDR+As6hGUwDSE1ZlQ+emS29AHDkorrGmae4DRwj6u35VeCpurYf1HCkeD FMLcUJVvzz6kGvwe8xxoibdf39tJkujpScz6XAL0YEihShr9GmxHPcb4ciARbSEG9lNP pNEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wLWKdPrc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u18si19355437pgn.590.2019.02.28.18.15.59; Thu, 28 Feb 2019 18:16:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wLWKdPrc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731014AbfCACOn (ORCPT + 99 others); Thu, 28 Feb 2019 21:14:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:59346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbfCACOn (ORCPT ); Thu, 28 Feb 2019 21:14:43 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 75B4A2085A; Fri, 1 Mar 2019 02:14:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551406482; bh=U8QyXvzWGdsuQ7nCEOPuFwstJ6Z4LugzC6KONHsjgs4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wLWKdPrcq2HgO8Xp73Y2KQSUZyBvepqKAm//VmgV6JfPo+mvRO34YfQG+Q/fKyEh7 sTIGhFmzmk8vLkwC+C713vcSFZVUxqyQmUNh4Z+Tz+zguyJHTl2NjMah9L/+Nb5K3B f5vhr3DzACAcuAnuqhuzQSDseXhv2JhTYjjNcvec= Date: Fri, 1 Mar 2019 10:13:49 +0800 From: Shawn Guo To: Michal =?utf-8?B?Vm9rw6HEjQ==?= Cc: Rob Herring , Andrew Lunn , Vinod Koul , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: imx6dl-yapp4: Use rgmii-id phy mode on the cpu port Message-ID: <20190301021344.GK26041@dragon> References: <1550583420-112858-1-git-send-email-michal.vokac@ysoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1550583420-112858-1-git-send-email-michal.vokac@ysoft.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 19, 2019 at 02:37:00PM +0100, Michal Vokáč wrote: > The PHY must add delays to both Tx and Rx clock on the cpu port > to work propperly. > > It worked with the rgmii mode before beacause the qca8k driver > (incorrecly) enabled delays in that mode. > > Signed-off-by: Michal Vokáč > --- > This imx6dl-yapp4 platform is currently waiting in linux-next. > > Commit 5ecdd77c61c8 ("net: dsa: qca8k: disable delay for RGMII mode"), now > also in linux-next removed the delays from the RGMII mode so the networking > stopped working. > > Recently Koul submitted a patch that implements the rgmii-id mode to fix > the issue [1]. > > As the networking is broken at this moment it does not matter which patch > goes in first. It is not neccessary to wait until the Koul's patch is > applied/merged if that should be the case. > > [1] http://patchwork.ozlabs.org/patch/1044505/ Can we have such useful info in the commit log in some proper form? Shawn > > arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > index b715ab0fa1ff..091d829f6b05 100644 > --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > @@ -125,7 +125,7 @@ > ethphy0: port@0 { > reg = <0>; > label = "cpu"; > - phy-mode = "rgmii"; > + phy-mode = "rgmii-id"; > ethernet = <&fec>; > > fixed-link { > -- > 2.1.4 >