mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
net: phy: bcm7xxx: define soft_reset for 40nm EPHY
[ Upstream commitfe586b8233] The internal 40nm EPHYs use a "Workaround for putting the PHY in IDDQ mode." These PHYs require a soft reset to restore functionality after they are powered back up. This commit defines the soft_reset function to use genphy_soft_reset during phy_init_hw to accommodate this. Fixes:6e2d85ec05("net: phy: Stop with excessive soft reset") Signed-off-by: Doug Berger <opendmb@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
97cc6827f4
commit
6d3ccc2a5b
|
|
@ -643,6 +643,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev)
|
|||
.name = _name, \
|
||||
.features = PHY_BASIC_FEATURES, \
|
||||
.flags = PHY_IS_INTERNAL, \
|
||||
.soft_reset = genphy_soft_reset, \
|
||||
.config_init = bcm7xxx_config_init, \
|
||||
.suspend = bcm7xxx_suspend, \
|
||||
.resume = bcm7xxx_config_init, \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user