summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/usb.h
diff options
context:
space:
mode:
authorHema HK <hemahk@ti.com>2011-02-17 12:06:07 +0530
committerFelipe Balbi <balbi@ti.com>2011-02-18 14:05:37 +0200
commitee896e348cf6f323a00e4ee52e6386f515f86cee (patch)
tree05aa1bd7587a1ab547492222ae2d18a966872e0e /arch/arm/plat-omap/include/plat/usb.h
parentd8692748408fbec28dfb065f4127307e24187476 (diff)
downloadop-kernel-dev-ee896e348cf6f323a00e4ee52e6386f515f86cee.zip
op-kernel-dev-ee896e348cf6f323a00e4ee52e6386f515f86cee.tar.gz
usb: otg: OMAP4430: Introducing suspend function for power management
Introduced the suspend/resume function for the OMAP4430 internal PHY. This will be used by the twl6030-usb transceiver driver. Moved the clock enable/disable function calls and power on/off of the PHY code from power on/off functions to suspend/resume function. Pass the suspend function through board data for OMAP4430sdp and OMAP4panda. This will be used by the twl6030-usb transceiver driver. Signed-off-by: Hema HK <hemahk@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Paul Walmsley <paul@pwsan.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/usb.h')
-rw-r--r--arch/arm/plat-omap/include/plat/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h
index 450a332..f888e0e 100644
--- a/arch/arm/plat-omap/include/plat/usb.h
+++ b/arch/arm/plat-omap/include/plat/usb.h
@@ -88,6 +88,7 @@ extern int omap4430_phy_power(struct device *dev, int ID, int on);
extern int omap4430_phy_set_clk(struct device *dev, int on);
extern int omap4430_phy_init(struct device *dev);
extern int omap4430_phy_exit(struct device *dev);
+extern int omap4430_phy_suspend(struct device *dev, int suspend);
#endif
OpenPOWER on IntegriCloud