diff options
author | Peter Chen <peter.chen@nxp.com> | 2019-04-28 10:35:31 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:23:22 +0200 |
commit | e7bc0c0aeb770dd662ba0a0c54f08f9fd1961111 (patch) | |
tree | f2f9831ae1e283013b30b74ac9884e0c20c9dcae /include | |
parent | cb77c43fa0bb9c2ff4167b2a162c7c237fe73e7f (diff) | |
download | linux-stable-e7bc0c0aeb770dd662ba0a0c54f08f9fd1961111.tar.gz linux-stable-e7bc0c0aeb770dd662ba0a0c54f08f9fd1961111.tar.bz2 linux-stable-e7bc0c0aeb770dd662ba0a0c54f08f9fd1961111.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')
-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 |