Skip to content

Commit fe586b8

Browse files
Doug Bergerdavem330
authored andcommitted
net: phy: bcm7xxx: define soft_reset for 40nm EPHY
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: 6e2d85e ("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>
1 parent 7de4840 commit fe586b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/phy/bcm7xxx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev)
572572
.name = _name, \
573573
/* PHY_BASIC_FEATURES */ \
574574
.flags = PHY_IS_INTERNAL, \
575+
.soft_reset = genphy_soft_reset, \
575576
.config_init = bcm7xxx_config_init, \
576577
.suspend = bcm7xxx_suspend, \
577578
.resume = bcm7xxx_config_init, \

0 commit comments

Comments
 (0)