From: Florian Fainelli Date: Thu, 5 Feb 2015 19:40:42 +0000 (-0800) Subject: net: dsa: bcm_sf2: implement GPHY power down X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9af197a8f6ecab8c22e4ad0167616151fce5a4cb;p=pandora-kernel.git net: dsa: bcm_sf2: implement GPHY power down 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: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed