Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2779066yba; Mon, 22 Apr 2019 12:49:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB5PVE7dn4cI77Wkep5rWx1EZyLFL/C1QfRtEv7Sd3trk7g05DXCMRmJLMQdtPKX2KLTL3 X-Received: by 2002:a63:155d:: with SMTP id 29mr20448787pgv.389.1555962545442; Mon, 22 Apr 2019 12:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555962545; cv=none; d=google.com; s=arc-20160816; b=e/kreNZw+akkSm2hmHOt+fQhWcFYTaV/z5rr5eEf624rf4QHFILzvF8fA+D1e23Wa0 dmDg3apOec6IwpisMCXZjGdehv8r73g4/PF4wV1y2QXYOtckiDb/Y1VlAZECyXyJaGnH 4w8oTtkit8idwhxfhUfOmp2Sr0OyBTFxklqGyjx8JTqRCik4N5gA1cwuuV5lU0Veeqsh FBIg6daeWtmlBrqFK52jIG1nYoW93rWXQCkuduO5Pf7T9wRzM5fMxQOsdimYoYXIWDmg 8KiwYWdkJ1NtyuFiPyn2sWfYM3ucssyYMo5tOy7HvzjVNoTlrL0zBU7hsuKtW6YmVhhe 6+nw== 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=P3tl3ZdRA+HPEcdkse1FhOE1CRMGC0KOLGsbQPPPX0c=; b=cDEkUfMVs5dn4svJDe6rnFr3ir0R2OWL81eU+aekMGckZ2+539C+VlBexCE813mrEA kj0YDj4yjAyUt51fO9Szwi0HmOrEOcp3BLBw9oOkiq9KWAdrn7r1olwjn0ZvsqLni3m8 m/K2DnQiurwogLKvYKYcm+LXZeo0QA46gzCVCHACs7lJ/dk2Vjq0H7oG6UM4wxSi7EoF nwN57hR1V6p8tRujlIdkdGIzyeW6vE3Z8E3VH9/xVFKM7qjifUaFUp4k9fRF146z3ziF gi3Sr7vh0zVeYmng069K0QsoAr3glheokmROl+VmDxj1ySETAIwCjaqrzszZ4D6mdCSX 2ccA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TsLuPEXE; 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 i27si12807236pgl.305.2019.04.22.12.48.48; Mon, 22 Apr 2019 12:49:05 -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=TsLuPEXE; 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 S1729930AbfDVTqK (ORCPT + 99 others); Mon, 22 Apr 2019 15:46:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:48198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729919AbfDVTqH (ORCPT ); Mon, 22 Apr 2019 15:46:07 -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 2BD9C218FD; Mon, 22 Apr 2019 19:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555962366; bh=ZA93AM4X2Ktqkvr41PJg1qxCXTSk9bXEjZiDMxrOSss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TsLuPEXEBX5OPOOgObksnhPpBLF9KQ4W6mcVDrS4HWm1P9Nx9VLU5VnWynFgoBcD0 MXkt65g88GX9iKW782ruV2SDWsSfdThmbSwPviSChHOlocZK8AUNEFgz4tFfBm1hQP Cgio4j4aLEHVvXrtKr3Z4MViyqVftBKDsEL+grd8= 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 4.19 25/68] ARM: dts: pfla02: increase phy reset duration Date: Mon, 22 Apr 2019 15:44:33 -0400 Message-Id: <20190422194516.11634-25-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190422194516.11634-1-sashal@kernel.org> References: <20190422194516.11634-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 ed1aafd56973..fe4e89d773f5 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -89,6 +89,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