u-boot/drivers/net/phy
Heiko Stuebner d63c14cc3f net: phy: mscc: sync rx/tx delay settings with Linux on vsc85xx
The Linux kernel does set the clock delays to
- 0.2 ns (their default, and lowest, hardware value) if delays should
  not be enabled
- 2.0 ns (which causes the data to be sampled at exactly half way between
  clock transitions at 1000 Mbps) if delays should be enabled
depending on the interface mode

See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/phy/mscc/mscc_main.c#n523

So instead of using arbitrary delay values like now, mimic this behaviour.

The behaviour is the same for all of vsc8530/8531/8540/8541 so move that
to a shared function while at it.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2020-09-30 16:48:18 -04:00
..
aquantia.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
atheros.c phy: atheros: ar8035: Fix clock output calculation 2020-06-22 17:40:41 +02:00
b53.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
broadcom.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
cortina.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
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 dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
generic_10g.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Kconfig net: phy: realtek: Introduce PHY_RTL8201F_S700_RMII_TIMINGS to adjust rx/tx timings 2020-07-07 16:09:22 -04:00
lxt.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Makefile net: phy: Add support for TI PHY init 2020-06-12 13:17:23 -04:00
marvell.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
meson-gxl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -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: Add basic support for KSZ9131 2020-05-01 13:46:22 +02:00
miiphybb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mscc.c net: phy: mscc: sync rx/tx delay settings with Linux on vsc85xx 2020-09-30 16:48:18 -04:00
mv88e61xx.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mv88e6352.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -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
phy.c phy: make phy_connect_fixed work with a null mdio bus 2020-09-24 08:27:44 -04:00
realtek.c net: phy: realtek: Introduce PHY_RTL8201F_S700_RMII_TIMINGS to adjust rx/tx timings 2020-07-07 16:09:22 -04: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 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
xilinx_phy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00