net: phy: broadcom: Add genphy_suspend and genphy_resume for BCM5464
authorVladimir Oltean <olteanv@gmail.com>
Sat, 8 Jun 2019 13:53:56 +0000 (16:53 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 03:05:19 +0000 (20:05 -0700)
commit283da99af1d8981b1fa075e9d002222b284fea0c
tree9b06d05a63d06185242e2c84db57790ecc51c5b1
parenta274ce0f311040ce188c53340c93120f52649519
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: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c