mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
net: phy: broadcom: Enable 10BaseT DAC early wake
Enable the DAC early wake when then link operates at 10BaseT allows power savings in the hundreds of milli Watts by shutting down the transmitter. A number of errata have been issued for various Gigabit PHYs and the recommendation is to enable both the early and forced DAC wake to be on the safe side. This needs to be done dynamically based upon the link state, which is why a link_change_notify callback is utilized. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20210916212742.1653088-1-f.fainelli@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
44ded7ca63
commit
8dc84dcd7f
2 changed files with 48 additions and 0 deletions
|
@ -233,6 +233,7 @@
|
|||
#define MII_BCM54XX_EXP_EXP08 0x0F08
|
||||
#define MII_BCM54XX_EXP_EXP08_RJCT_2MHZ 0x0001
|
||||
#define MII_BCM54XX_EXP_EXP08_EARLY_DAC_WAKE 0x0200
|
||||
#define MII_BCM54XX_EXP_EXP08_FORCE_DAC_WAKE 0x0100
|
||||
#define MII_BCM54XX_EXP_EXP75 0x0f75
|
||||
#define MII_BCM54XX_EXP_EXP75_VDACCTRL 0x003c
|
||||
#define MII_BCM54XX_EXP_EXP75_CM_OSC 0x0001
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue