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 9353B1F4628; Mon, 23 Jun 2025 21:27:32 +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=1750714052; cv=none; b=SjAH7tgltG4eL3zPIVtswCHO3cm6JYuCN/mkV2WNQn3KzTb+SggvvHIvwtZXTr6+TjbNsYVMLNj5/W3OiVqZ/r2wamPXT+Y2r288XnKXCl3YYQubHJYgfA1vXbRPQlpFQXcLMANuB3THuOVS+vvbuxm66SE0a1JSeaWsN9xMupU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750714052; c=relaxed/simple; bh=9zYpmrn2Q0fUjyDmlz+aVZtZHAuhgVXOt6790vGaZVU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C3aobaABofZWJxY9MmkI6n8qiSPu6xGn0ilpvO9kXtlDwEm5QDXz7RXUI9V2/QXtlzeGWWHexNGz6XGcU512OltYDCdr91/AG5wQs4xQ9mxI1oxlfQtA/nPcxfxGdhjYFCfHEv+jIGF+TXlE8RVijJT3TU0xayddBpfJ6xPQ0xA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zs514Kup; 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="zs514Kup" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28C4EC4CEEA; Mon, 23 Jun 2025 21:27:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750714052; bh=9zYpmrn2Q0fUjyDmlz+aVZtZHAuhgVXOt6790vGaZVU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zs514KupZEPmO55fF14y8w3J0BkoITvrjAC7BH5XhSyR20QE1wumASnxDTYhjA79f 0Ki5Y8cGYGC8KzNTASEwZdN2Ffl5+D03rmmynt8+3QWIfwYtcbENsi9dCqRPuzH3ZI 0Odl7qANypk+FXbM1sZxb4dR0WaKFt31dPr2bI2o= 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.4 212/222] ARM: dts: am335x-bone-common: Increase MDIO reset deassert delay to 50ms Date: Mon, 23 Jun 2025 15:09:07 +0200 Message-ID: <20250623130618.674785058@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130611.896514667@linuxfoundation.org> References: <20250623130611.896514667@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.4-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 @@ -403,7 +403,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>; }; };