u-boot/drivers/net/phy
Samuel Holland f11513d997 net: phy: realtek: Add tx/rx delay config for 8211e
Some boards need to change the tx/rx delay config in order for
gigabit Ethernet to work.

In Linux commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx
delay config"), Realtek documented the bits for overriding the delays
from the hardware straps.

Copy the logic from linux, so the delay config is set from the PHY's
interface type (the phy-mode property in the device tree).

This removes the need for a one-off workaround for the Pine A64+ board.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
2021-11-23 09:57:56 +02:00
..
aquantia.c net: freescale: replace usage of phy-mode = "sgmii-2500" with "2500base-x" 2021-09-28 18:50:56 +03:00
atheros.c phy: atheros: ar8035: Fix clock output calculation 2020-06-22 17:40:41 +02:00
b53.c global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
broadcom.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ca_phy.c net: phy: ca_phy: Add driver for CAxxxx SoCs 2021-01-27 10:47:47 -05:00
cortina.c net: cortina: Add support for tfa boot in cortina firmware 2021-08-18 15:55:15 +05:30
davicom.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
dp83867.c net: phy: Add support for TI PHY init 2020-06-12 13:17:23 -04:00
et1011c.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fixed.c net: phy: fixed: Support the old DT binding 2021-04-15 14:22:17 +05:30
generic_10g.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Kconfig net: phy: realtek: Add tx/rx delay config for 8211e 2021-11-23 09:57:56 +02:00
lxt.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Makefile phy: add nxp tja1103 phy driver 2021-07-06 05:22:41 +03:00
marvell.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
meson-gxl.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
micrel_ksz8xxx.c net: phy: micrel: ksz8061 implement errata 80000688A fix 2020-06-12 13:17:23 -04:00
micrel_ksz90x1.c net: phy: micrel: Try default PHY ofnode first 2021-01-27 10:47:54 -05:00
miiphybb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mscc.c net: phy: mscc: add support for VSC8502 in dual RGMII mode 2021-11-23 09:57:55 +02:00
mv88e61xx.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mv88e6352.c global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
natsemi.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
ncsi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
nxp-c45-tja11xx.c phy: add nxp tja1103 phy driver 2021-07-06 05:22:41 +03:00
phy.c net: phy: genphy_init can be static 2021-09-28 18:50:56 +03:00
realtek.c net: phy: realtek: Add tx/rx delay config for 8211e 2021-11-23 09:57:56 +02:00
smsc.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
teranetics.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ti_phy_init.c net: phy: Add DP8382x phy registration to TI PHY init 2020-06-12 13:17:23 -04:00
ti_phy_init.h net: phy: Add support for TI PHY init 2020-06-12 13:17:23 -04:00
vitesse.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
xilinx_gmii2rgmii.c net: phy: xilinx: Be compatible with live OF tree 2021-04-15 14:22:17 +05:30
xilinx_phy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00