aboutsummaryrefslogtreecommitdiff
path: root/net/dsa-uclass.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-10-12 21:07:32 -0500
committerRamon Fried <rfried.dev@gmail.com>2021-11-23 09:57:56 +0200
commitf11513d9978719820998ac05ed5a5da32465f926 (patch)
tree6aeb94ed47e252474b0917a13505e1c533434629 /net/dsa-uclass.c
parent8b41dedd4000171a093e19e275739578b4593a16 (diff)
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>
Diffstat (limited to 'net/dsa-uclass.c')
0 files changed, 0 insertions, 0 deletions