Commit 3ad3e28c authored by Sasha Neftin's avatar Sasha Neftin Committed by Tony Nguyen

e1000e: Additional PHY power saving in S0ix

After transferring the MAC-PHY interface to the SMBus set the PHY
to S0ix low power idle mode.
Suggested-by: default avatarDima Ruinskiy <dima.ruinskiy@intel.com>
Signed-off-by: default avatarSasha Neftin <sasha.neftin@intel.com>
Tested-by: default avatarDvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent ef407b86
...@@ -6378,10 +6378,16 @@ static void e1000e_s0ix_entry_flow(struct e1000_adapter *adapter) ...@@ -6378,10 +6378,16 @@ static void e1000e_s0ix_entry_flow(struct e1000_adapter *adapter)
ew32(CTRL_EXT, mac_data); ew32(CTRL_EXT, mac_data);
/* DFT control: PHY bit: page769_20[0] = 1 /* DFT control: PHY bit: page769_20[0] = 1
* page769_20[7] - PHY PLL stop
* page769_20[8] - PHY go to the electrical idle
* page769_20[9] - PHY serdes disable
* Gate PPW via EXTCNF_CTRL - set 0x0F00[7] = 1 * Gate PPW via EXTCNF_CTRL - set 0x0F00[7] = 1
*/ */
e1e_rphy(hw, I82579_DFT_CTRL, &phy_data); e1e_rphy(hw, I82579_DFT_CTRL, &phy_data);
phy_data |= BIT(0); phy_data |= BIT(0);
phy_data |= BIT(7);
phy_data |= BIT(8);
phy_data |= BIT(9);
e1e_wphy(hw, I82579_DFT_CTRL, phy_data); e1e_wphy(hw, I82579_DFT_CTRL, phy_data);
mac_data = er32(EXTCNF_CTRL); mac_data = er32(EXTCNF_CTRL);
......
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