commit | cde0f4f81d1c11ccc214146e1c550bfe48629fac | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Tue Apr 28 23:15:02 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 20:54:10 2020 -0700 |
tree | 9b4460d113b4360f80420f7c4f19af77b728cb8e | |
parent | 838974e1e08a9724525fa13ef15d6e021c23c99d [diff] |
net: phy: at803x: add downshift support The AR8031 and AR8035 support the link speed downshift. Add driver support for it. One peculiarity of these PHYs is that it needs a software reset after changing the setting, thus add the .soft_reset() op and do a phy_init_hw() if necessary. This was tested on a custom board with the AR8031. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>