summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2019-04-26 18:41:23 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-29 23:17:21 -0400
commit7a1d8390d015a13c42b1effa1f22fda0858fe6f9 (patch)
tree54d7705f781781b46c10e7369dbbe71d3479933d /include/net
parent88d6272acaaa4bfb03da0a87a8754ec431471680 (diff)
downloadblackbird-op-linux-7a1d8390d015a13c42b1effa1f22fda0858fe6f9.tar.gz
blackbird-op-linux-7a1d8390d015a13c42b1effa1f22fda0858fe6f9.zip
net: phy: micrel: make sure the factory test bit is cleared
The KSZ8081 PHY has a factory test mode which is set at the de-assertion of the reset line based on the RXER (KSZ8081RNA/RND) or TXC (KSZ8081MNX/RNB) pin. If a pull-down is missing, or if the pin has a pull-up, the factory test mode should be cleared by manually writing a 0 (according to the datasheet). This patch makes sure this factory test bit is cleared in config_init(). Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud