aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorHarini Katakam <harini.katakam@xilinx.com>2019-03-01 16:20:35 +0530
committerDavid S. Miller <davem@davemloft.net>2019-03-03 13:51:37 -0800
commitde991c58b3761e4ddb8eeb204987155111332f59 (patch)
treef925873ff7ee703d226b05bb88642a4ad8057fca /drivers/regulator
parentnet: macb: Add pm runtime support (diff)
downloadlinux-dev-de991c58b3761e4ddb8eeb204987155111332f59.tar.xz
linux-dev-de991c58b3761e4ddb8eeb204987155111332f59.zip
net: macb: Add support for suspend/resume with full power down
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 BDs. Upon resume, all these are reinitialized again. Reset of macb device is done only when GEM is not a wake device. Even when gem is a wake device, tx queues can be stopped and ptp device can be closed (tsu clock will be disabled in pm_runtime_suspend) as wake event detection has no dependency on this. Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com> Signed-off-by: Harini Katakam <harini.katakam@xilinx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions