summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakethram Bommisetti <sakethram.bommisetti@stericsson.com>2012-01-17 19:31:16 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:17 +0200
commit395aea0fb7e8317b35530551cbb03d9e2fc962b7 (patch)
tree01b9f27ca5f055aecdae43776f396969a0e604d9
parentfe1dfffb67f528bccf0fb5eda7638e08d068f6eb (diff)
Ux500:USB:Adding new otg transceiver events
Adding two new events to handle the CPU idle. USB_EVENT_PREPARE would restore the context and make the MUSB ready for enumeration of a new device. USB_EVENT_CLEAN would remove the clocks and handle the USB state machine when the cable is removed ST-Ericsson Linux next: NA ST-Ericsson ID: 373930 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I12c6c16567a460981cedf40192bc321889f3fe05 Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45730 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
-rw-r--r--include/linux/usb/otg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
index c3b77fcdce7..3583bd09d38 100644
--- a/include/linux/usb/otg.h
+++ b/include/linux/usb/otg.h
@@ -44,6 +44,8 @@ enum usb_phy_events {
USB_EVENT_RIDA,
USB_EVENT_RIDB,
USB_EVENT_RIDC,
+ USB_EVENT_PREPARE, /* restore context and clocks */
+ USB_EVENT_CLEAN, /* disable clocks */
};
struct usb_phy;