Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp935497pxv; Fri, 25 Jun 2021 01:31:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM+zCpuiLOD0D6Qe0xgss67nPYlCKeaYbJoZPR9koogisNPMVvMoJjWMmRJXM+XuJLPtUL X-Received: by 2002:a02:90cb:: with SMTP id c11mr8709348jag.53.1624609911707; Fri, 25 Jun 2021 01:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624609911; cv=none; d=google.com; s=arc-20160816; b=f7G4nSXVe2N2mTCPxBxzC5GFUWhsI429ZEL3huGcEWfunxkyBGCm3Toux57ozmAG+J GzDVvE03BlbxgH4wrOMg4+gfFDzQQ1KEw7KaW6qinaho2JEkaC1uIM9Se0lqPmprJfUj ihr1MBNTXWKx8jfttqhACQRa59ZIvaOtoTsxaF4Wu38TgbisAPSM13EBkxDISEbx6yu5 L9va1p7Jw+vf+BtltqoRy7mxYdYGCkOSs7VEvPrzmbaA4RxrfyMMnbdRl2DL0AoEmFtO xlpKB6eomPudVaytlPAhve0Koc+QovaRKINaOZ/3OPOjX4ErVOCxWzx7sLlYVx6xtTtB 10/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=T2r95cMiqxcmlqZ0gYcA3eAbB6uZD0v069I9tl1yTGA=; b=knW6deh1E8uwM/OMaWvcI+mcRlMlnF6+UAQgrr4qIb4YTNaa23fPt0++SgDRR7FBe+ zMnx8HA2yMw53u7KBQZrp8cYysR40MQjkVi7Tye7i32JDcqvYN4I//vcFPZ8UB+6D3mA lf3t3htvuf3PtGKE9JBhv8DA8kIomqa+SsN8CbIlWFC9eTd1EGGEbNEfiKiX0r93zyxp gV9U+vFMQYBlnaEIkSUTzttUuT4gS4m1glIlOiRjcAn6vZTXv73CBOxbxF6GHEaeQYaB Ja881Ya9Rc7UvPshdCfedIojATpXCSRz4iH7U1zJS/K1z2HtXYJSZxVVLcHXg9OII6TJ FC6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w132si5838225jab.61.2021.06.25.01.31.40; Fri, 25 Jun 2021 01:31:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230050AbhFYId1 (ORCPT + 99 others); Fri, 25 Jun 2021 04:33:27 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:33861 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbhFYId0 (ORCPT ); Fri, 25 Jun 2021 04:33:26 -0400 Received: (Authenticated sender: maxime.chevallier@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 5ADA71BF218; Fri, 25 Jun 2021 08:31:02 +0000 (UTC) From: Maxime Chevallier To: Russell King , Shawn Guo , Rob Herring , Andrew Lunn , thomas.petazzoni@bootlin.com, herve.codina@bootlin.com, devicetree@vger.kernel.org Cc: Maxime Chevallier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms Date: Fri, 25 Jun 2021 10:30:51 +0200 Message-Id: <20210625083051.3691737-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The datasheet for the AR803x PHY present on this SoM recommends that the reset line is asserted low for 10ms, so that the PHY has time to properly reset the internal blocks. The previous value of 2ms was found to be problematic on some setups, causing intermittent issues where the PHY would be unresponsive every once in a while on some sytems, with a low occurence (it typically took around 30 consecutive reboots to encounter the issue). Bumping the delay to the 10ms recommended value makes the issue dissapear, with more than 2500 consecutive reboots performed without the issue showing-up. Fixes: 208d7baf8085 ("ARM: imx: initial SolidRun HummingBoard support") Signed-off-by: Maxime Chevallier Tested-by: Hervé Codina --- arch/arm/boot/dts/imx6qdl-sr-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-sr-som.dtsi b/arch/arm/boot/dts/imx6qdl-sr-som.dtsi index 0ad8ccde0cf8..a54dafce025b 100644 --- a/arch/arm/boot/dts/imx6qdl-sr-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sr-som.dtsi @@ -54,7 +54,7 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_microsom_enet_ar8035>; phy-mode = "rgmii-id"; - phy-reset-duration = <2>; + phy-reset-duration = <10>; phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; status = "okay"; -- 2.25.4