]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/usb/msm_hsusb_hw.h
usb: phy: msm: Correct USB PHY Reset sequence for newer platform
[mirror_ubuntu-artful-kernel.git] / include / linux / usb / msm_hsusb_hw.h
index e6d70356715508c5a50e245676c6ae37162200b1..575c74397e52953ab5655ad2e0c88ecba5b35389 100644 (file)
 #define ULPI_DATA(n)          ((n) & 255)
 #define ULPI_DATA_READ(n)     (((n) >> 8) & 255)
 
+/* synopsys 28nm phy registers */
+#define ULPI_PWR_CLK_MNG_REG   0x88
+#define OTG_COMP_DISABLE       BIT(0)
+
 #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 */
+#define PHY_POR_ASSERT         (1 << 0) /* USB2 28nm PHY POR ASSERT */
 
 /* OTG definitions */
 #define OTGSC_INTSTS_MASK      (0x7f << 16)