• F
    net: dsa: bcm_sf2: implement GPHY power down · 9af197a8
    Florian Fainelli 提交于
    Implement the power on/off recommended procedure for the Single GPHY we
    have on our Starfighter 2 switch. In order to make sure we get proper
    LED link/activity signaling during suspend, switch the link indication
    from the Switch/MAC to the PHY.
    
    Finally, since the GPHY needs to be reset to be put in low power mode,
    we will loose any context applied to it: workarounds, EEE etc.. so we
    need to call phy_init_hw() to get our fixups re-applied successfully.
    Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    9af197a8
bcm_sf2_regs.h 6.9 KB