Thread (26 messages) flat view 26 messages, 5 authors, 2016-06-17

Re: [PATCH] net: stmmac: dwmac-rk: keep PHY up for WoL

From: Andrew Lunn <andrew@lunn.ch>
Date: 2016-06-09 00:17:46
Also in: lkml

On Wed, Jun 08, 2016 at 03:25:38PM -0700, Vincent Palatin wrote:
On Tue, Jun 7, 2016 at 12:23 AM, Giuseppe CAVALLARO
[off-list ref] wrote:
quoted
Hello

On 6/3/2016 7:29 PM, Vincent Palatin wrote:
quoted
Do not shutdown the PHY if Wake-on-Lan is enabled, else it cannot wake
us up.
I do not understand why you need that.
This is done inside the PHY layer and it is tested on our platforms
he idea is: If the parent wants to Wake the system then the PHY should
not power-down.
I'm not sure I understand :
you mean that this path is not called if WoL is enabled ?
[ currently stmmac_pltfr_suspend() is calling priv->plat->exit() which
is the rk_gmac_exit() code I'm modifying ]
or the RK driver code should not power down the phy in its exit() callback ?
Take a look at phy_suspend().

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help