Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2776621yba; Mon, 22 Apr 2019 12:45:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqysoEoiwiVRdOW4KYWgL0+cx8Mof6vvEI55ZA2gv3GuiLRyP0bXdt9bgN64hmUxmTZhmP8L X-Received: by 2002:a17:902:c1:: with SMTP id a59mr21264546pla.176.1555962352671; Mon, 22 Apr 2019 12:45:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555962352; cv=none; d=google.com; s=arc-20160816; b=aHuLJrmocSuZYgQeBQ5aXrlk2XiJv259s/PzN+MC0HaE7H1d6bIQVOEE8RYLhp38ny Blxnz351SvjrEIpat+ZKpExeRc7TngmmcxSUnIDtmBATfzjD28mq6fPlfU4qYMXXJdJm zNBqyo4eHqmMAiqZUl1d+/5wwVEFOJpqd0J0O6Mltxpo3Y3yAUtlBep3Z6OBZQI/1du7 UsdRiiF7hsTBBHHYoklSD3N2qh3C2U+3ZLNNnxQAHaLTRI5N6st5KH1tCrV3BzDLzGkC 8feSURJCy8/mXWXiSmbBNnGE8AUS0Kfa8VerDjSZMuGFCcJ5uDb8GC9qebC5d+3kZxeP DeSg== 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=8ermsLixvkFRFjHiFXO6cwINNZs9wXeRJV+BohuD+FE=; b=HcqWHZtARKLaUtmKvKnnwYCpZ1QTAIwR1J3AsXoGF8mbmAL4UQJTqi3aGGkt4ijrVO nlqO2O1rJksPMYbJH1hv9QnlMbz4JsvDQLGPeRNBh30haZqOD23E5NxpjpcyJtwkuQPf CuA7Q6dZpxuhcVjCb0MTz0du3MTwmlYNGnDX19RLoaM5ZXMwixTdE3G1FrgmXqtt1UQa B2X/kc7cgwd6OPiDa7rcS8wHLI2QsxlkqttQWByOu4a5QOTX3wRnuK9Nj/h1yP0ORnQ/ 30luO/+5d4amL/zWfcZ8dCBggx2uLt05UW/fRMdHwtSefMhXX+w8zXu6dkjexuEnM6uW 0Fcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xrPVQ84I; 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 e7si14148341pfc.152.2019.04.22.12.45.37; Mon, 22 Apr 2019 12:45:52 -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=xrPVQ84I; 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 S1729096AbfDVTnH (ORCPT + 99 others); Mon, 22 Apr 2019 15:43:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:43572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729071AbfDVTnE (ORCPT ); Mon, 22 Apr 2019 15:43:04 -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 D5418217D4; Mon, 22 Apr 2019 19:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555962183; bh=MRJ1qOTwXruQV9MqbWARRrXTg1Y63EZTx63jFZgIbbw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xrPVQ84IgSfatjnmJV94U7rBww6Uf5JJAhA4or/4WAfFcBmqSOBiAd7Kfs6ei7KkP eXXwdr0j96TnwgWQyB4XZEqMsRH5eZMHpzsM1ooIkvoeQgCeu0Z7P8vClCKPOq3Jx3 WFjUFZgzIjW6VpLSaknuRevUWbETev2iVZxBN7R8= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Marco Felsch , Stefan Christ , Christian Hemp , Shawn Guo , Sasha Levin , devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 5.0 34/98] ARM: dts: pfla02: increase phy reset duration Date: Mon, 22 Apr 2019 15:41:01 -0400 Message-Id: <20190422194205.10404-34-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190422194205.10404-1-sashal@kernel.org> References: <20190422194205.10404-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review 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: Marco Felsch [ Upstream commit 032f85c9360fb1a08385c584c2c4ed114b33c260 ] Increase the reset duration to ensure correct phy functionality. The reset duration is taken from barebox commit 52fdd510de ("ARM: dts: pfla02: use long enough reset for ethernet phy"): Use a longer reset time for ethernet phy Micrel KSZ9031RNX. Otherwise a small percentage of modules have 'transmission timeouts' errors like barebox@Phytec phyFLEX-i.MX6 Quad Carrier-Board:/ ifup eth0 warning: No MAC address set. Using random address 7e:94:4d:02:f8:f3 eth0: 1000Mbps full duplex link detected eth0: transmission timeout T eth0: transmission timeout T eth0: transmission timeout T eth0: transmission timeout T eth0: transmission timeout Cc: Stefan Christ Cc: Christian Hemp Signed-off-by: Marco Felsch Fixes: 3180f956668e ("ARM: dts: Phytec imx6q pfla02 and pbab01 support") Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin (Microsoft) --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 1b50b01e9bac..65d03c5d409b 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -90,6 +90,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii"; + phy-reset-duration = <10>; /* in msecs */ phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; phy-supply = <&vdd_eth_io_reg>; status = "disabled"; -- 2.19.1