lkml.org 
[lkml]   [2017]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] Workaround broken RTL8211E on some Pine64+ boards
Date
Some Pine64+ boards come with bad RTL8211E PHYs, which cannot work reliably
unless do some hack. According to Pine64 people, Realtek describes the hack
as totally disabling RX delay, and it's not documented at all.

This patchset introduces the workaround on Pine64+.

The first patch adds RGMII variants' support to the dwmac-sun8i driver.

The second patch renames some macros in RTL PHY driver, and the third
patch introduces the hack as the "RGMII-TXID" mode of the PHY.

The fourth patch enables the hack in the device tree.

Icenowy Zheng (4):
net: stmmac: dwmac-sun8i: support RGMII modes with PHY internal delay
net: phy: realtek: change macro name for page select register
net: phy: realtek: add disable RX internal delay mode
arm64: allwinner: a64: disable the RTL8211E internal RX delay on
Pine64+

.../boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 2 +-
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 3 ++
drivers/net/phy/realtek.c | 43 +++++++++++++++++++---
3 files changed, 42 insertions(+), 6 deletions(-)

--
2.13.5

\
 
 \ /
  Last update: 2017-08-22 06:42    [W:0.065 / U:12.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site