summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Jun <b47624@freescale.com>2015-02-03 13:40:47 +0800
committerLi Jun <b47624@freescale.com>2015-02-03 16:36:51 +0800
commit1d4c054323817b49897fd7a59bc57b4d36f09491 (patch)
tree82e2240e84c406b404379d9a56e5456119f07b3a /include
parent1712c4defc0a21fe1019406fe00966acbac815fb (diff)
MLK-10179-1 usb: chipidea: add a flag for turn on vbus early for host
Some PHY of imx usb need power supply from vbus to make it work, if there is no vbus, USB PHY will not in correct state when the controller starts to work, for host, this requires vbus should be turned on before setting port power(PP) of ehci, to work with this kind of USB PHY design, this patch adds a flag CI_HDRC_IMX_VBUS_EARLY_ON, can be checked by host driver to turn on vbus while start host. Signed-off-by: Li Jun <jun.li@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/chipidea.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h
index 6c1acb4b69f6..97f0b5c61bac 100644
--- a/include/linux/usb/chipidea.h
+++ b/include/linux/usb/chipidea.h
@@ -35,6 +35,7 @@ struct ci_hdrc_platform_data {
CI_HDRC_DISABLE_HOST_STREAMING)
#define CI_HDRC_OVERRIDE_AHB_BURST BIT(11)
#define CI_HDRC_OVERRIDE_BURST_LENGTH BIT(12)
+#define CI_HDRC_IMX_VBUS_EARLY_ON BIT(13)
enum usb_dr_mode dr_mode;
#define CI_HDRC_CONTROLLER_RESET_EVENT 0
#define CI_HDRC_CONTROLLER_STOPPED_EVENT 1