net: phy: marvell10g: place in powersave mode at probe
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 3 Mar 2020 18:08:45 +0000 (18:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 22:41:52 +0000 (14:41 -0800)
commitc9cc1c815d36f9d5723e369d662f238bc3b35d83
tree77512a0d2a46fafbb96d42a6f8044d96ac8c6bcf
parenta585c03e63fd3537cdf94e52485699617424453c
net: phy: marvell10g: place in powersave mode at probe

Place the 88x3310 into powersaving mode when probing, which saves 600mW
per PHY. For both PHYs on the Macchiatobin double-shot, this saves
about 10% of the board idle power.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c