Re: [RFC PATCH 4/5] net: macb: Add support for suspend/resume with full power down

2018-05-03 Thread Claudiu Beznea
On 03.05.2018 14:20, Harini Katakam wrote: > Hi Claudiu, > > On Thu, May 3, 2018 at 3:39 PM, Claudiu Beznea > wrote: >> >> >> On 22.03.2018 15:51, harinikatakamli...@gmail.com wrote: >>> From: Harini Katakam >>> >>> When macb device is suspended and system is powered down, the clocks >>> are r

Re: [RFC PATCH 4/5] net: macb: Add support for suspend/resume with full power down

2018-05-03 Thread Harini Katakam
Hi Claudiu, On Thu, May 3, 2018 at 3:39 PM, Claudiu Beznea wrote: > > > On 22.03.2018 15:51, harinikatakamli...@gmail.com wrote: >> From: Harini Katakam >> >> When macb device is suspended and system is powered down, the clocks >> are removed and hence macb should be closed gracefully and restor

Re: [RFC PATCH 4/5] net: macb: Add support for suspend/resume with full power down

2018-05-03 Thread Claudiu Beznea
On 22.03.2018 15:51, harinikatakamli...@gmail.com wrote: > From: Harini Katakam > > When macb device is suspended and system is powered down, the clocks > are removed and hence macb should be closed gracefully and restored > upon resume. Is this a power saving mode which shut down the core?

[RFC PATCH 4/5] net: macb: Add support for suspend/resume with full power down

2018-03-22 Thread harinikatakamlinux
From: Harini Katakam When macb device is suspended and system is powered down, the clocks are removed and hence macb should be closed gracefully and restored upon resume. This patch does the same by switching off the net device, suspending phy and performing necessary cleanup of interrupts and BD