aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/msm_hsusb_hw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/msm_hsusb_hw.h b/include/linux/usb/msm_hsusb_hw.h
index e6d703567155..575c74397e52 100644
--- a/include/linux/usb/msm_hsusb_hw.h
+++ b/include/linux/usb/msm_hsusb_hw.h
@@ -42,9 +42,14 @@
42#define ULPI_DATA(n) ((n) & 255) 42#define ULPI_DATA(n) ((n) & 255)
43#define ULPI_DATA_READ(n) (((n) >> 8) & 255) 43#define ULPI_DATA_READ(n) (((n) >> 8) & 255)
44 44
45/* synopsys 28nm phy registers */
46#define ULPI_PWR_CLK_MNG_REG 0x88
47#define OTG_COMP_DISABLE BIT(0)
48
45#define ASYNC_INTR_CTRL (1 << 29) /* Enable async interrupt */ 49#define ASYNC_INTR_CTRL (1 << 29) /* Enable async interrupt */
46#define ULPI_STP_CTRL (1 << 30) /* Block communication with PHY */ 50#define ULPI_STP_CTRL (1 << 30) /* Block communication with PHY */
47#define PHY_RETEN (1 << 1) /* PHY retention enable/disable */ 51#define PHY_RETEN (1 << 1) /* PHY retention enable/disable */
52#define PHY_POR_ASSERT (1 << 0) /* USB2 28nm PHY POR ASSERT */
48 53
49/* OTG definitions */ 54/* OTG definitions */
50#define OTGSC_INTSTS_MASK (0x7f << 16) 55#define OTGSC_INTSTS_MASK (0x7f << 16)