usb: phy: mxs: Add system suspend/resume API
authorPeter Chen <peter.chen@freescale.com>
Mon, 24 Feb 2014 02:21:03 +0000 (10:21 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:09 +0000 (14:40 -0600)
commitbf78343800861c65d4004e7f60a03cc9bc2410b3
treebd507e25f6ae40df0d563e7c5833e06df570640a
parent3f1265056be0a3a569a0409410d4b11048688216
usb: phy: mxs: Add system suspend/resume API

We need this to keep PHY's power on or off during the system
suspend mode. If we need to enable USB wakeup, then we
must keep PHY's power being on during the system suspend mode.
Otherwise, we need to keep PHY's power being off to save power.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c