LF-3506-3 net: phy: realtek: add workaround to fix RXC issue
authorJoakim Zhang <qiangqing.zhang@nxp.com>
Thu, 25 Mar 2021 03:49:28 +0000 (11:49 +0800)
committerJoakim Zhang <qiangqing.zhang@nxp.com>
Tue, 6 Apr 2021 10:14:58 +0000 (18:14 +0800)
commita6b5b2ba8b67205330f14ea78f5d6fa77a5f04c4
treead173f5553cac378b9c3f9bd2cc91a1157322b82
parent984d14722bebd04052ed5851e332c8c765c28f57
LF-3506-3 net: phy: realtek: add workaround to fix RXC issue

PHY will delay about 11.5ms to generate RXC clock when switching from
power down to normal operation. Read/write registers would also cause RXC
become unstable and stop for a while during this process. Realtek engineer
suggest 15ms or more delay can workaround this issue. All these
statistics are collected with ALDPS mode disabled, so use RTL821X_ALDPS_DISABLE
quirk.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
drivers/net/phy/realtek.c