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 D4D14222581; Mon, 23 Jun 2025 22:27:48 +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=1750717668; cv=none; b=pFi0n/B6bu8TERXPYSwYAVMc56a7ZVfmBZtQdHO/5nPcSsvmjFc6lOZYMRLYtkJ/LKhB1lZgoxbwuMXZYvEQLRQhparJUSd9m4BK8chnOYNLp93Z2u/uImM2U4FJP0wocIpZTCpX+oG17GjFmQsKMkn5C0yGqc/8r5UGWB1OEaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750717668; c=relaxed/simple; bh=NEz3t3xOSYFufqe2sYyAy2gsSsszzwDsezeDqi+jwpE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CLpmYCRREi5utSmsCckuugkastLcnvgj6s1BKYYLX4WiWhaOAdyYZnIL5luShdCVXvUTOQNC4yDOgniFVN8UEASfeU5OqsyFmwxwdMiyfBZbQvzYwXFsnjxKGKLypRTruPf5CVkSqK1desZldIX0MiHRZK6lkbVZDZak7kvkCsk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wgouupAI; 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="wgouupAI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AC21C4CEEA; Mon, 23 Jun 2025 22:27:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750717668; bh=NEz3t3xOSYFufqe2sYyAy2gsSsszzwDsezeDqi+jwpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wgouupAI+SfspwQlXrkcy97j9JvqsmzClU79zSSgAGnBK71ZQVL/ZRybUMCulTiEm tT0+m8lBG1Av63NFW5ZgmGqZVAr3hnhVBKHIiOSEkm6+8j+nH36/kYsjGNqwCqGoFU cxF5wUfhU8ywhWuFDwqI0skbvTiE2JsTtgd//dU0= 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 6.1 496/508] ARM: dts: am335x-bone-common: Increase MDIO reset deassert delay to 50ms Date: Mon, 23 Jun 2025 15:09:01 +0200 Message-ID: <20250623130657.230010207@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130645.255320792@linuxfoundation.org> References: <20250623130645.255320792@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 6.1-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>; }; };