]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: realtek: add delay to fix RXC generation issue
authorJoakim Zhang <qiangqing.zhang@nxp.com>
Tue, 8 Jun 2021 03:15:35 +0000 (11:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2021 18:41:24 +0000 (11:41 -0700)
commitb31ad7e499d3b26daf52e59872e87e1a85bd7e3d
tree1c2c1b0943586e65847584348ff36080c61648d6
parenta9983c1c804da5fa6604fcf0c183f3ac177ff5ae
net: phy: realtek: add delay to fix RXC generation 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
suggests 15ms or more delay can workaround this issue.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/realtek.c