diff options
author | Peter Chen <peter.chen@nxp.com> | 2018-10-15 17:02:57 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2018-12-11 09:12:29 +0800 |
commit | 014abe34a9095daaa6cbb2693ee90bbb54674693 (patch) | |
tree | b31dd99dda4138a1c95f0c350382b60188e72a2f /include | |
parent | e67ebf1b3815b2d1fc505dba182761c0be6c179d (diff) | |
download | linux-014abe34a9095daaa6cbb2693ee90bbb54674693.tar.gz linux-014abe34a9095daaa6cbb2693ee90bbb54674693.tar.bz2 linux-014abe34a9095daaa6cbb2693ee90bbb54674693.zip |
usb: chipidea: add flag for imx hsic implementation
NXP (Freecale) imx HSIC design has some special requirements, add
some flags at host code to handle them.
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/chipidea.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 63758c399e4e..911e05af671e 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -60,9 +60,12 @@ struct ci_hdrc_platform_data { #define CI_HDRC_OVERRIDE_RX_BURST BIT(11) #define CI_HDRC_OVERRIDE_PHY_CONTROL BIT(12) /* Glue layer manages phy */ #define CI_HDRC_REQUIRES_ALIGNED_DMA BIT(13) +#define CI_HDRC_IMX_IS_HSIC BIT(14) enum usb_dr_mode dr_mode; #define CI_HDRC_CONTROLLER_RESET_EVENT 0 #define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 +#define CI_HDRC_IMX_HSIC_ACTIVE_EVENT 2 +#define CI_HDRC_IMX_HSIC_SUSPEND_EVENT 3 int (*notify_event) (struct ci_hdrc *ci, unsigned event); struct regulator *reg_vbus; struct usb_otg_caps ci_otg_caps; |