]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
phy: dp83867: macb: SW workaround for link instability
authorHarini Katakam <harini.katakam@xilinx.com>
Tue, 7 Mar 2017 10:50:16 +0000 (16:20 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 Mar 2018 13:15:35 +0000 (14:15 +0100)
commit1e67e4abd9613f074f1a8f27e7e008e37f48367c
treeae61c16b0d1530f486c6721d84d46e7464a8ce2b
parent4caa99b9e44de1948f812840023e640b9f93a61b
phy: dp83867: macb: SW workaround for link instability

RX_CTRL of DP83867 has to be strapped to MODE 3 or 4 according to
TI datasheet. If this is not done link instability may be observed
with some partners. This was observed on ZCU102 at 100Mbps and
also previously with on SGMII DC when connected to switches.
From communication with TI, we learnt that the following can be
used as a SW workaround to solve these issues.
Added this workaround with a DT property to make it configurable.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/phy/dp83867.c