* [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
@ 2024-05-21 9:39 Marek Vasut
2024-05-21 10:12 ` Francesco Dolcini
2024-05-24 16:28 ` Fabio Estevam
0 siblings, 2 replies; 4+ messages in thread
From: Marek Vasut @ 2024-05-21 9:39 UTC (permalink / raw)
To: u-boot
Cc: Marek Vasut, NXP i.MX U-Boot Team, Fabio Estevam,
Francesco Dolcini, Marcel Ziswiler, Philippe Schenker,
Martyn Welch, Stefano Babic
The ethernet PHY on MX8Menlo board takes a while to come out of
reset, increase the auto-negotiation timeout to prevent it from
timing out in case the ethernet is used right after the board was
reset.
Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Francesco Dolcini <francesco.dolcini@toradex.com>
Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: Philippe Schenker <philippe.schenker@toradex.com>
Cc: Martyn Welch <martyn.welch@collabora.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: u-boot@lists.denx.de
---
include/configs/imx8mm-mx8menlo.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/imx8mm-mx8menlo.h b/include/configs/imx8mm-mx8menlo.h
index a86bd76a3c7..5cc60af91e5 100644
--- a/include/configs/imx8mm-mx8menlo.h
+++ b/include/configs/imx8mm-mx8menlo.h
@@ -8,6 +8,9 @@
#include <configs/verdin-imx8mm.h>
+/* PHY needs a longer autoneg timeout */
+#define PHY_ANEG_TIMEOUT 20000
+
/* Custom initial environment variables */
#undef CFG_EXTRA_ENV_SETTINGS
#define CFG_EXTRA_ENV_SETTINGS \
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
2024-05-21 9:39 [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo Marek Vasut
@ 2024-05-21 10:12 ` Francesco Dolcini
2024-05-21 10:55 ` Marek Vasut
2024-05-24 16:28 ` Fabio Estevam
1 sibling, 1 reply; 4+ messages in thread
From: Francesco Dolcini @ 2024-05-21 10:12 UTC (permalink / raw)
To: Marek Vasut
Cc: u-boot, NXP i.MX U-Boot Team, Fabio Estevam, Francesco Dolcini,
Marcel Ziswiler, Philippe Schenker, Martyn Welch, Stefano Babic
On Tue, May 21, 2024 at 11:39:38AM +0200, Marek Vasut wrote:
> The ethernet PHY on MX8Menlo board takes a while to come out of
> reset, increase the auto-negotiation timeout to prevent it from
> timing out in case the ethernet is used right after the board was
> reset.
Is this specific of MX8Menlo or something we should have on
verdin-imx8mm instead? I am not aware of any report on this issue on the
verdin, on the other hand the verdin imx8mm has normally only one
ethernet interface, and this is the one from the verdin SOM.
Francesco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
2024-05-21 10:12 ` Francesco Dolcini
@ 2024-05-21 10:55 ` Marek Vasut
0 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2024-05-21 10:55 UTC (permalink / raw)
To: Francesco Dolcini
Cc: u-boot, NXP i.MX U-Boot Team, Fabio Estevam, Francesco Dolcini,
Marcel Ziswiler, Philippe Schenker, Martyn Welch, Stefano Babic
On 5/21/24 12:12 PM, Francesco Dolcini wrote:
> On Tue, May 21, 2024 at 11:39:38AM +0200, Marek Vasut wrote:
>> The ethernet PHY on MX8Menlo board takes a while to come out of
>> reset, increase the auto-negotiation timeout to prevent it from
>> timing out in case the ethernet is used right after the board was
>> reset.
>
> Is this specific of MX8Menlo or something we should have on
> verdin-imx8mm instead? I am not aware of any report on this issue on the
> verdin, on the other hand the verdin imx8mm has normally only one
> ethernet interface, and this is the one from the verdin SOM.
This is specific to this particular carrier board and does not apply to
Dahlia board or Verdin SoM.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
2024-05-21 9:39 [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo Marek Vasut
2024-05-21 10:12 ` Francesco Dolcini
@ 2024-05-24 16:28 ` Fabio Estevam
1 sibling, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2024-05-24 16:28 UTC (permalink / raw)
To: Marek Vasut
Cc: u-boot, NXP i.MX U-Boot Team, Francesco Dolcini, Marcel Ziswiler,
Philippe Schenker, Martyn Welch, Stefano Babic
On Tue, May 21, 2024 at 6:40 AM Marek Vasut <marex@denx.de> wrote:
>
> The ethernet PHY on MX8Menlo board takes a while to come out of
> reset, increase the auto-negotiation timeout to prevent it from
> timing out in case the ethernet is used right after the board was
> reset.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-24 16:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 9:39 [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo Marek Vasut
2024-05-21 10:12 ` Francesco Dolcini
2024-05-21 10:55 ` Marek Vasut
2024-05-24 16:28 ` Fabio Estevam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.