From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00D86B676; Mon, 23 Jun 2025 22:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750716992; cv=none; b=UZ44YkcAtX26YDS1FDgua6tKkFbRNXElfa1f7BrTDqhgQz8lk6Je2Lhq4iUF2QjIF5j/9ZkOYZ8xFFZrTdq2eWT+Unq0CeJFzNMdaD/2HrsOq0ys9A1gUR8dJuKQ73/EF6WdfKOiJ6XZ7QsmoCPsdmhFVAr4Wz2JVv+0T2+lv58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750716992; c=relaxed/simple; bh=u3qQEd0eBFSaW68KXhzXh9jj04ZnHwnm4o34oZF0Gko=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GbfYbwiVovFO6NvAqenXXj0IiQmAhQPk18EdRonnYdDHB2RnvJ/deY95WwVJyBjmZxsEwO+ekubia3WwpzDATO14cccD3MUoi21DtBWJx7fqdr4TTqiITtp2QyjxedEezSizozsxk8uGpEDixZGnxTHrFF2QJcuYlz4QIjcnDF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CGsr0S0D; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CGsr0S0D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8578DC4CEEA; Mon, 23 Jun 2025 22:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750716991; bh=u3qQEd0eBFSaW68KXhzXh9jj04ZnHwnm4o34oZF0Gko=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CGsr0S0Dnq0SWf1gQOGaEDnwpzARPK8eHZZGE6m5iNHBOa5IuqkkNQtFqGYlb3xk5 ImYhSAhr3K2/0BRv1Rc3DcjiqNTcWi9VPVOSCoNQWi1EqWcTnRGTLeD2ZiPaCNzyPo LG0yKoCAUiT7qRQo2A/hFORrOs+F3aEic6WUmmAg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geert Uytterhoeven , Roger Quadros , Kevin Hilman , "Nobuhiro Iwamatsu (CIP)" Subject: [PATCH 5.15 385/411] ARM: dts: am335x-bone-common: Increase MDIO reset deassert delay to 50ms Date: Mon, 23 Jun 2025 15:08:49 +0200 Message-ID: <20250623130643.345217437@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130632.993849527@linuxfoundation.org> References: <20250623130632.993849527@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Geert Uytterhoeven commit 929d8490f8790164f5f63671c1c58d6c50411cb2 upstream. Commit b9bf5612610aa7e3 ("ARM: dts: am335x-bone-common: Increase MDIO reset deassert time") already increased the MDIO reset deassert delay from 6.5 to 13 ms, but this may still cause Ethernet PHY probe failures: SMSC LAN8710/LAN8720 4a101000.mdio:00: probe with driver SMSC LAN8710/LAN8720 failed with error -5 On BeagleBone Black Rev. C3, ETH_RESETn is controlled by an open-drain AND gate. It is pulled high by a 10K resistor, and has a 4.7µF capacitor to ground, giving an RC time constant of 47ms. As it takes 0.7RC to charge the capacitor above the threshold voltage of a CMOS input (VDD/2), the delay should be at least 33ms. Considering the typical tolerance of 20% on capacitors, 40ms would be safer. Add an additional safety margin and settle for 50ms. Signed-off-by: Geert Uytterhoeven Reviewed-by: Roger Quadros Link: https://lore.kernel.org/r/9002a58daa1b2983f39815b748ee9d2f8dcc4829.1730366936.git.geert+renesas@glider.be Signed-off-by: Kevin Hilman Signed-off-by: Nobuhiro Iwamatsu (CIP) Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/am335x-bone-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi @@ -384,7 +384,7 @@ /* Support GPIO reset on revision C3 boards */ reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; reset-assert-us = <300>; - reset-deassert-us = <13000>; + reset-deassert-us = <50000>; }; };