summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavankumar Kondeti2011-05-04 06:49:49 +0200
committerGreg Kroah-Hartman2011-05-07 03:27:49 +0200
commit04aebcbb1b6dccadc8862b2765265f65a946db57 (patch)
tree33996708dc4e3fdfd1d8bc12157f2e22e54520ff /include
parentUSB: OTG: msm: Configure PHY Analog and Digital voltage domains (diff)
downloadkernel-qcow2-linux-04aebcbb1b6dccadc8862b2765265f65a946db57.tar.gz
kernel-qcow2-linux-04aebcbb1b6dccadc8862b2765265f65a946db57.tar.xz
kernel-qcow2-linux-04aebcbb1b6dccadc8862b2765265f65a946db57.zip
USB: OTG: msm: Add PHY suspend support for MSM8960
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/msm_hsusb_hw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/msm_hsusb_hw.h b/include/linux/usb/msm_hsusb_hw.h
index 7d1babbff071..6e97a2d3d39f 100644
--- a/include/linux/usb/msm_hsusb_hw.h
+++ b/include/linux/usb/msm_hsusb_hw.h
@@ -24,6 +24,7 @@
#define USB_PORTSC (MSM_USB_BASE + 0x0184)
#define USB_OTGSC (MSM_USB_BASE + 0x01A4)
#define USB_USBMODE (MSM_USB_BASE + 0x01A8)
+#define USB_PHY_CTRL (MSM_USB_BASE + 0x0240)
#define USBCMD_RESET 2
#define USB_USBINTR (MSM_USB_BASE + 0x0148)
@@ -42,6 +43,7 @@
#define ASYNC_INTR_CTRL (1 << 29) /* Enable async interrupt */
#define ULPI_STP_CTRL (1 << 30) /* Block communication with PHY */
+#define PHY_RETEN (1 << 1) /* PHY retention enable/disable */
/* OTG definitions */
#define OTGSC_INTSTS_MASK (0x7f << 16)