mbox series

[net,0/3] net: phy: broadcom: Suspend fixes

Message ID 20210310204106.2767772-1-f.fainelli@gmail.com (mailing list archive)
Headers show
Series net: phy: broadcom: Suspend fixes | expand

Message

Florian Fainelli March 10, 2021, 8:41 p.m. UTC
Hi all,

This patch series fixes the suspend entry for BCM54810 and BCM54811 PHYs
which can be put into an incorrect state depending on the timing of the
BMCR.PDOWN write and essentially not achieve the desired power savings.

In addition, there is a correctness change added that waits 40us upon
clearing the BMCR.PDOWN bit per the datasheet information.

The BCM5464 PHY entry is not changed since I do no have hardware to test
this on, however it could be switched to the non read/modify/write
version of the suspend routine if necessary.

Florian Fainelli (3):
  net: phy: broadcom: Add power down exit reset state delay
  net: phy: broadcom: Only set BMCR.PDOWN to suspend
  net: phy: broadcom: Use corrected suspend for BCM54811

 drivers/net/phy/broadcom.c | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)