u-boot/drivers/net/phy
Siddharth Vadapalli 5a4bfe3877 net: phy: Support overriding Auto Negotiation timeout with env variable
The Auto Negotiation procedure between two Ethernet PHYs consists of
determining the best commonly supported parameters among Speed,
Duplex Mode and Flow Control.

The time taken for this procedure is not only dependent on the local
PHY used, but also on the link-partner PHY.

While a timeout can be specified in the form of a "CONFIG" on the basis
of the local PHY present on the device, since the timeout also depends
on the link-partner PHY, it might be necessary to modify the timeout.

To avoid rebuilding the bootloader for a given device, just because it
may be connected to various link-partner PHYs, each with a different
timeout, introduce an environment variable named "phy_aneg_timeout" and
override "CONFIG_PHY_ANEG_TIMEOUT" with "phy_aneg_timeout".

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
[jf: add missing #include <env.h>]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2025-08-01 10:42:22 +02:00
..
adin.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
aquantia.c net: phy: Support overriding Auto Negotiation timeout with env variable 2025-08-01 10:42:22 +02:00
atheros.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
b53.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
broadcom.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ca_phy.c drivers: use lowercase hex prefix style 2025-06-14 09:09:39 -06:00
cortina.c env: Rename SYS_MMC_ENV_DEV to ENV_MMC_DEVICE_INDEX 2025-06-20 12:15:08 -06:00
davicom.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
dp83867.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dp83869.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
et1011c.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
ethernet_id.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fixed.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
generic_10g.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
intel_xway.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig net: phy: Support overriding Auto Negotiation timeout with env variable 2025-08-01 10:42:22 +02:00
lxt.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
Makefile net: phy: dp83867: Allow excluding driver from SPL 2025-07-09 08:45:27 -06:00
marvell10g.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
marvell.c Revert "net: phy: marvell 88e151x: Fix handling of bare RGMII interface type" 2025-01-01 14:35:54 -06:00
meson-gxl.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
micrel_ksz8xxx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
micrel_ksz90x1.c drivers: net: phy: micrel: Try to get phy node from phy-handle 2025-07-10 08:40:45 -06:00
miiphybb.c net: miiphybb: Drop bb_miiphy_alloc()/bb_miiphy_free() and struct bb_miiphy_bus 2025-03-11 23:05:57 +01:00
motorcomm.c net: phy: Add driver for Motorcomm YT8521S Gigabit ethernet phy 2025-01-01 14:40:04 -06:00
mscc.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mv88e61xx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mv88e6352.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
natsemi.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ncsi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nxp-c45-tja11xx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nxp-tja11xx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
phy.c net: phy: Support overriding Auto Negotiation timeout with env variable 2025-08-01 10:42:22 +02:00
realtek.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
smsc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
teranetics.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ti_phy_init.c net: phy: Add RGMII RX/TX delay handling to DP83822 PHY 2025-01-30 19:28:33 -06:00
ti_phy_init.h net: phy: add TI DP83869HM ethernet driver 2022-01-15 18:50:16 +02:00
vitesse.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_gmii2rgmii.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_phy.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00