diff options
author | Li Jun <b47624@freescale.com> | 2015-02-03 13:40:47 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-04-14 14:02:13 -0500 |
commit | 4a5bc477dfae17c568e31bfe032e13bdda2eb594 (patch) | |
tree | 1c040a7ec4ccec54400aa6d7c145c8d59f40f60d /include/linux | |
parent | 5f028c7cde859bd1890bac4c67ca77f2fd7549fb (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/linux')
-rw-r--r-- | include/linux/usb/chipidea.h | 1 |
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 |