提交 fe586b82 编写于 作者: D Doug Berger 提交者: David S. Miller

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: 6e2d85ec ("net: phy: Stop with excessive soft reset")
Signed-off-by: NDoug Berger <opendmb@gmail.com>
Acked-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7de48402
...@@ -572,6 +572,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev) ...@@ -572,6 +572,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev)
.name = _name, \ .name = _name, \
/* PHY_BASIC_FEATURES */ \ /* PHY_BASIC_FEATURES */ \
.flags = PHY_IS_INTERNAL, \ .flags = PHY_IS_INTERNAL, \
.soft_reset = genphy_soft_reset, \
.config_init = bcm7xxx_config_init, \ .config_init = bcm7xxx_config_init, \
.suspend = bcm7xxx_suspend, \ .suspend = bcm7xxx_suspend, \
.resume = bcm7xxx_config_init, \ .resume = bcm7xxx_config_init, \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册