diff options
| author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2011-05-04 00:49:49 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-06 21:27:49 -0400 |
| commit | 04aebcbb1b6dccadc8862b2765265f65a946db57 (patch) | |
| tree | 33996708dc4e3fdfd1d8bc12157f2e22e54520ff /include/linux/usb | |
| parent | 11aa5c478e743712228ff2da881b85100800c1ee (diff) | |
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/linux/usb')
| -rw-r--r-- | include/linux/usb/msm_hsusb_hw.h | 2 |
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 @@ | |||
| 24 | #define USB_PORTSC (MSM_USB_BASE + 0x0184) | 24 | #define USB_PORTSC (MSM_USB_BASE + 0x0184) |
| 25 | #define USB_OTGSC (MSM_USB_BASE + 0x01A4) | 25 | #define USB_OTGSC (MSM_USB_BASE + 0x01A4) |
| 26 | #define USB_USBMODE (MSM_USB_BASE + 0x01A8) | 26 | #define USB_USBMODE (MSM_USB_BASE + 0x01A8) |
| 27 | #define USB_PHY_CTRL (MSM_USB_BASE + 0x0240) | ||
| 27 | 28 | ||
| 28 | #define USBCMD_RESET 2 | 29 | #define USBCMD_RESET 2 |
| 29 | #define USB_USBINTR (MSM_USB_BASE + 0x0148) | 30 | #define USB_USBINTR (MSM_USB_BASE + 0x0148) |
| @@ -42,6 +43,7 @@ | |||
| 42 | 43 | ||
| 43 | #define ASYNC_INTR_CTRL (1 << 29) /* Enable async interrupt */ | 44 | #define ASYNC_INTR_CTRL (1 << 29) /* Enable async interrupt */ |
| 44 | #define ULPI_STP_CTRL (1 << 30) /* Block communication with PHY */ | 45 | #define ULPI_STP_CTRL (1 << 30) /* Block communication with PHY */ |
| 46 | #define PHY_RETEN (1 << 1) /* PHY retention enable/disable */ | ||
| 45 | 47 | ||
| 46 | /* OTG definitions */ | 48 | /* OTG definitions */ |
| 47 | #define OTGSC_INTSTS_MASK (0x7f << 16) | 49 | #define OTGSC_INTSTS_MASK (0x7f << 16) |
