There're some Pine64+ boards known to have broken RTL8211E chips, and
a hack is given by Pine64+, which is said to be from Realtek.
This patchset adds the hack.
The hack is taken from U-Boot, and it contains magic numbers without
any document.
Icenowy Zheng (3):
dt-bindings: add binding for RTL8211E Ethernet PHY
net: phy: realtek: add config hack for broken RTL8211E on Pine64+
boards
arm64: allwinner: a64: dts: apply hack for RTL8211E on Pine64+
.../bindings/net/realtek,rtl8211e.yaml | 23 +++++++++++++++++++
.../dts/allwinner/sun50i-a64-pine64-plus.dts | 1 +
drivers/net/phy/realtek.c | 14 +++++++++++
3 files changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl8211e.yaml
--
2.21.0
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/linux-sunxi/20191001082912.12905-1-icenowy%40aosc.io.