Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3554820imj; Tue, 19 Feb 2019 05:38:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IbWDpQWJ1VtdZ3sRT/jM5e/Xv0Oc69PzgCthOMNqleLvGnaYm+ebMNyiMaCAyPYjDoujT30 X-Received: by 2002:a17:902:2a89:: with SMTP id j9mr31412738plb.296.1550583493724; Tue, 19 Feb 2019 05:38:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550583493; cv=none; d=google.com; s=arc-20160816; b=BoVl4c7spJC7oyNJtDyfHAdw7vu7Iu7aTqrmw3o/rn+doaOpK+QpQ2SSvbFaNMfSH0 b4ZDPpzSWj3wDI1RAuQTvygJyKe5ILnO3uZvl74k3JJz2Pgv7HsfUgglH9QPQc6CJ/fL aldaosBIFoSuhIyqR8xVq7WYiV6z75cJ8EgDjXK3xl1QhMTGn9jsBmCtWcyVOedEL+zZ PUYAPP1/gJgfHnrDEpKURjspKRTp/uRIf9R+LYeYROpffQEiF2V+RlUjscq0HJ+6es/y 2qs/NbE4sCP6eKVCjJBxC3D4pOYcZu6ouq0wPqur5arPlAcFyeY2VcVgfcOOqgPcR1DM Uaxg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=2zZz6fGoKd7rJzGHSo5EVGyHaG18tL7ausA0l16/ZnQ=; b=Dzs4rUR/WXlhww5TgAkCVrsq1QptHWWPG7zggT6vYdWHfJ41Mjb1hGW9nPMHGfMsXs +kiUsapQSPwAguTlI92m8sKH/56u3JvSrgstD4iTzTMruarPklcSv6T9rUjRggLN0DV/ PcT25sSB6ereT24VixFTExKSEL0dojQvsno6xyIBYLrKxy7Bvia2rWRSXuMWj6HpokOS OLOLelenvxct1jX5RfSVC7UORcIOAs9oM53nipgQTE3z1ABHkd9E2AqR4pZn+6wasx6J tgZZlu5aEPL4kV6C1rxmSxsj3JtHBrLRFV46PghyZb8+ExqhaeCf5LNaUNvtg9HmqXgl 1Klg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=jTMbMw5D; 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=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si796608pgh.577.2019.02.19.05.37.57; Tue, 19 Feb 2019 05:38:13 -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 (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=jTMbMw5D; 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=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728697AbfBSNhg (ORCPT + 99 others); Tue, 19 Feb 2019 08:37:36 -0500 Received: from uho.ysoft.cz ([81.19.3.130]:38723 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbfBSNhg (ORCPT ); Tue, 19 Feb 2019 08:37:36 -0500 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 90AB1A63BD; Tue, 19 Feb 2019 14:37:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1550583453; bh=2zZz6fGoKd7rJzGHSo5EVGyHaG18tL7ausA0l16/ZnQ=; h=From:To:Cc:Subject:Date:From; b=jTMbMw5DJAtHjV0i2ksIgh3X2DjJwJEuSf4qTJK7+b+7Dppq/03FW6D5hWCvlNMYn bxwCU4IB7Fjjpm5EEk8fcyZybUet1sBn3ym6zYUycW5mPw/TUKzuEFM4oKeTYdMfzm OGZO21DNZD9M2d3tN07j/JfTD/14cf8E9uBfrUA4= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Andrew Lunn , Vinod Koul , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH] ARM: dts: imx6dl-yapp4: Use rgmii-id phy mode on the cpu port Date: Tue, 19 Feb 2019 14:37:00 +0100 Message-Id: <1550583420-112858-1-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 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 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/ 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