diff options
author | Peter Chen <peter.chen@nxp.com> | 2019-04-28 10:35:31 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2019-06-14 17:39:43 +0800 |
commit | d1609c312d42f3bdfe7df9d4dd9d5b2c7ace90f4 (patch) | |
tree | a2f1bff97772544cb9586bcac6b6b98acab8dfa2 /include/linux/usb/chipidea.h | |
parent | 8ea5b2abd07e2280a332bd9c1a7f4dd15b9b6c13 (diff) | |
download | lwn-d1609c312d42f3bdfe7df9d4dd9d5b2c7ace90f4.tar.gz lwn-d1609c312d42f3bdfe7df9d4dd9d5b2c7ace90f4.zip |
usb: chipidea: imx: add imx7ulp support
In this commit, we add CI_HDRC_PMQOS to avoid system entering idle,
at imx7ulp, if the system enters idle, the DMA will stop, so the USB
transfer can't work at this case.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'include/linux/usb/chipidea.h')
-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 911e05af671e..edd89b7c8f18 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -61,6 +61,7 @@ struct ci_hdrc_platform_data { #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) +#define CI_HDRC_PMQOS BIT(15) enum usb_dr_mode dr_mode; #define CI_HDRC_CONTROLLER_RESET_EVENT 0 #define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 |