]> Git Repo - u-boot.git/commit
net: phy: realtek: Add tx/rx delay config for 8211e
authorSamuel Holland <[email protected]>
Wed, 13 Oct 2021 02:07:32 +0000 (21:07 -0500)
committerRamon Fried <[email protected]>
Tue, 23 Nov 2021 07:57:56 +0000 (09:57 +0200)
commitf11513d9978719820998ac05ed5a5da32465f926
tree6aeb94ed47e252474b0917a13505e1c533434629
parent8b41dedd4000171a093e19e275739578b4593a16
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 <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
configs/pine64_plus_defconfig
drivers/net/phy/Kconfig
drivers/net/phy/realtek.c
This page took 0.039073 seconds and 4 git commands to generate.