Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3231328imc; Wed, 13 Mar 2019 12:13:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwz0IwtWJdoHYGuKpRUhdeSX//1729gsQ5d2NTd29najtn1Esm66Pi1DIGyxtT/9TK+eHTz X-Received: by 2002:a65:6554:: with SMTP id a20mr41455869pgw.170.1552504421135; Wed, 13 Mar 2019 12:13:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552504421; cv=none; d=google.com; s=arc-20160816; b=fdv8AUhtjxDjtzsK8vOXFuxubt8qI6OVKqBb7ZGAje//fjH1kWI+ZNx2XFp5SK89BH M0pAvs+3bToaIfrJkFDDliWrJgoFlJX7go+0PL/cVKdIQCMuwUQLopk9X0upVPl32bbk FTvkHSYJn32EgGZs43UiuJ7/l/tlXRMcvrFKkK0XQ4GvYLoxLH8LscdQEWNBVCUOL2Ky Q6XYnvztaEffupf0NXoPo4gGR7H/CMNwB6laAeu7tRdTqgip5zITpkzROJYCDcAz8JCq cyWfzFVrAI9vLfQZRdSGZEc5RKJE3Db3qsHIdvTWHvd+zmXOElaXrPLhsuhGveXKULVa LAjg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S8X6vGNs0I9RY7DEb9ADKXXwcTrqGxZi6KDMBBu2oQY=; b=Xtu3jmkZrDhUkfKFDKpbQpdFo2yae23ewrtfkWM6LxZ83plvHhX2N7pWPdoqf21V8d 34akKErhn71dueMFMxAI6R7OIrdJoQBBlVHUP+cGNF5rLA1sfpRuoRZ5s0j8F3/Vl/XJ RYWG8vYLovfNvCV63vtJx4YTQwV81etmTIkpm7xUqJ5mddX2qmBMPNxY6/B0j14KMBe/ mRTnHMACKHmD/wRaTq41BALE1vpig520/Mj30EAvqCCijwbUi5b6rvWqPa9/a+TKNY1p PfvSSJcGAAwZGNhdts19lbhrfEfMWDX3CSbVjt8+V8NycGgoHHUtEh5cjTQkFoHTdxo8 AYjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dFZUKDGD; 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 s194si10674829pgs.47.2019.03.13.12.13.25; Wed, 13 Mar 2019 12:13:41 -0700 (PDT) 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=dFZUKDGD; 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 S1727440AbfCMTLW (ORCPT + 99 others); Wed, 13 Mar 2019 15:11:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:41900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727402AbfCMTLU (ORCPT ); Wed, 13 Mar 2019 15:11:20 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 08D4B213A2; Wed, 13 Mar 2019 19:11:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552504279; bh=NBulQS9k1r3B2mJEeIVlwvy8lKHBF8pERRAsHNeXc8s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dFZUKDGDBcBw5p71ZIuFdS10bbgFT76dC+YwcFBx0Jw0Y5i1CiorZ2ps4d1QELCba EHW8O6AfO9Ro54kUy3Ti+8wmv5LR+P43CSYWA/l6XM9DW1g/M3wq/DOG8eWvW7t6ut 8dB6aqKpC47gZcyVA8oeItX7dBy8Ghsx2XC39/ME= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Peter Ujfalusi , Tony Lindgren , Sasha Levin , linux-omap@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 4.20 28/60] ARM: dts: am335x-evmsk: Fix PHY mode for ethernet Date: Wed, 13 Mar 2019 15:09:49 -0400 Message-Id: <20190313191021.158171-28-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190313191021.158171-1-sashal@kernel.org> References: <20190313191021.158171-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Ujfalusi [ Upstream commit 759c962d3c9bb1a60e3b4b780daa66ee6d4be13a ] The PHY must add both tx and rx delay and not only on the tx clock. The board uses AR8031_AL1A PHY where the rx delay is enabled by default, the tx dealy is disabled. The reason why rgmii-txid worked because the rx delay was not disabled by the driver so essentially we ended up with rgmii-id PHY mode. Signed-off-by: Peter Ujfalusi Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/boot/dts/am335x-evmsk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 245868f58fe3..583f83b1742d 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts @@ -651,13 +651,13 @@ &cpsw_emac0 { phy-handle = <ðphy0>; - phy-mode = "rgmii-txid"; + phy-mode = "rgmii-id"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { phy-handle = <ðphy1>; - phy-mode = "rgmii-txid"; + phy-mode = "rgmii-id"; dual_emac_res_vlan = <2>; }; -- 2.19.1