]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: phy: marvell10g: add energy detect power down tunable
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 3 Mar 2020 18:08:40 +0000 (18:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 22:41:52 +0000 (14:41 -0800)
commita585c03e63fd3537cdf94e52485699617424453c
tree9dd161a14ac60bea9b2e06bd53e2594e9cdc5fd9
parent8d8963c3db6c3895eadf028d8c782cf18c1b3ff2
net: phy: marvell10g: add energy detect power down tunable

Add support for the energy detect power down tunable, which saves
around 600mW when the link is down. The 88x3310 supports off, rx-only
and NLP every second. Enable EDPD by default for 88x3310.

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