Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3243751imc; Wed, 13 Mar 2019 12:33:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKxcymES0+cZVRYB31zbluVRoYhUEWmf8PICfk0vb++0T12VZFPbrkPoxfcgKM7o0ogl9h X-Received: by 2002:aa7:81d7:: with SMTP id c23mr46887609pfn.146.1552505595069; Wed, 13 Mar 2019 12:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552505595; cv=none; d=google.com; s=arc-20160816; b=aK3Nh9oXEwvCspPO6/+NNbSBqeNe8roYU3jiWyrr/ydtlKamNqKr4a6oOKDOpEdxaz OoHoTwiyDWDobY1p8uY42AM5c8U8rVbzIhO7GoSKEFcsbHKSyvtrgtAGf4caSK9EXLdY ZC/mMZvEBk5MMAGpdIHMu19jd1UMUqCVH52KtmOo3q0hRJUAI8Tf1FfXde6frsGevvMr 2qPladMUYL0pjWk98zpVtkKO70yxJLsZ+FSq0QeuzsinmyTAgB7RkU8K1oQSPXidx40M 3czHeF8Z2yenxVdIbbf2jtXomk+5WuTde/WCsMEiJ6Dg2OtWgZaEPA0f7hVjsHno624e BrEA== 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=2VWpO9xkUDp0OpkfNFrTWGrsWFhu+L14ny5Ep9BRU1c=; b=KmqSyVYJKxZ6o410FsoVNnsc9FvTDAuUQIV1yWVJJQ1ORdkxaVQOTaFWqYuifXt/KR oIfXp9x/UE04JX2UTppdptKboskCRZC6OiLaATsWf1rTmRU7JMAwU6NMLZkjMSsqw0Lk SLwLfSeU9soa0xW7JbL/rZpoF+Jtz05aR/1PYG5XWcoJ77aK4haZHSToyjPDBji8gbVc FI+5k5iYDwza6B8pvOhE4g2p+HvVaZqrv1rwSdWisRgQzIWZ8do451kgeEOzNPEmchga 3i44rTDzo5MOe1OYlB3ChkcihH1PZQTk3d++HGviySuo9Cunc4qYdbo6Kuh1iBZC2rpU jfVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vzImk+3Z; 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 e20si10638548pfi.237.2019.03.13.12.32.57; Wed, 13 Mar 2019 12:33:15 -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=vzImk+3Z; 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 S1727469AbfCMTLZ (ORCPT + 99 others); Wed, 13 Mar 2019 15:11:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:41916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727404AbfCMTLV (ORCPT ); Wed, 13 Mar 2019 15:11:21 -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 143672173C; Wed, 13 Mar 2019 19:11:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552504281; bh=P+bjVQ6VAGQEXm/HwpZWc8c6O8zhLEFDZAFvpIuP+IE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vzImk+3ZNpVso3BXXwsGw9o57TDvuUIzpxfCbTOkY0CON7rcsyQ8Ke7YzkTelsqOt AkPaOTXVRyW4U2Wj1bNJPRF5sv84dyBLPkzXcuZy7aB6DYDhlhpeAHmeCP4qgQ+GLf br19Zt06RE8iaskWoz0yf1gRDIkspoansF7amGDk= 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 29/60] ARM: dts: am335x-evm: Fix PHY mode for ethernet Date: Wed, 13 Mar 2019 15:09:50 -0400 Message-Id: <20190313191021.158171-29-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 37685f6a63eeca2135d1f704e7638409a071b1f6 ] 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-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 98ec9c3e49ba..8399bc983416 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -729,7 +729,7 @@ &cpsw_emac0 { phy-handle = <ðphy0>; - phy-mode = "rgmii-txid"; + phy-mode = "rgmii-id"; }; &tscadc { -- 2.19.1