Commit 283da99a authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

net: phy: broadcom: Add genphy_suspend and genphy_resume for BCM5464

This puts the quad PHY ports in power-down mode when the PHY transitions
to the PHY_HALTED state.  It is likely that all the other PHYs support
the BMCR_PDOWN bit, but I only have the BCM5464R to test.
Signed-off-by: default avatarVladimir Oltean <olteanv@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a274ce0f
...@@ -663,6 +663,8 @@ static struct phy_driver broadcom_drivers[] = { ...@@ -663,6 +663,8 @@ static struct phy_driver broadcom_drivers[] = {
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.ack_interrupt = bcm_phy_ack_intr, .ack_interrupt = bcm_phy_ack_intr,
.config_intr = bcm_phy_config_intr, .config_intr = bcm_phy_config_intr,
.suspend = genphy_suspend,
.resume = genphy_resume,
}, { }, {
.phy_id = PHY_ID_BCM5481, .phy_id = PHY_ID_BCM5481,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment