path: root/drivers/net/ethernet
diff options
authorDavid S. Miller <davem@davemloft.net>2021-09-21 10:58:36 +0100
committerDavid S. Miller <davem@davemloft.net>2021-09-21 10:58:36 +0100
commit6a3807536328c632ead28911b7524bf14cfe71aa (patch)
tree8e67db0e1a8a0bdbb90f1fd0ec35e9e28559d126 /drivers/net/ethernet
parentnet/ipv4/syncookies.c: remove superfluous header files from syncookies.c (diff)
parentnet: dsa: bcm_sf2: Request APD, DLL disable and IDDQ-SR (diff)
Merge branch 'iddq-sr-mode'
Florian Fainelli says: ==================== net: phy: broadcom: IDDQ-SR mode This patch series adds support for the IDDQ with soft recovery mode which allows power savings of roughly 150mW compared to a simple BMCR.PDOWN power off (called standby power down in Broadcom datasheets). In order to leverage these modes we add a new PHY driver flags for drivers to opt-in for that behavior, the PHY driver is modified to do the appropriate programming and the PHYs on which this was tested get updated to have an appropriate suspend/resume set of functions. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmmii.c b/drivers/net/ethernet/broadcom/genet/bcmmii.c
index 2d29de9a33e3..ff1efd52ce16 100644
--- a/drivers/net/ethernet/broadcom/genet/bcmmii.c
+++ b/drivers/net/ethernet/broadcom/genet/bcmmii.c
@@ -288,7 +288,9 @@ int bcmgenet_mii_probe(struct net_device *dev)
struct device_node *dn = kdev->of_node;
phy_interface_t phy_iface = priv->phy_interface;
struct phy_device *phydev;
- u32 phy_flags = 0;
+ u32 phy_flags = PHY_BRCM_AUTO_PWRDWN_ENABLE |
int ret;
/* Communicate the integrated PHY revision */