diff options
author | Li Jun <jun.li@nxp.com> | 2019-07-31 14:36:58 +0800 |
---|---|---|
committer | Li Jun <jun.li@nxp.com> | 2019-08-06 15:53:43 +0800 |
commit | 37db491b94688cc7a6f835a9797e1c47c31bdfdd (patch) | |
tree | e4ff06f9fe31d8cb4b5c90f8901b2502c9003230 /include | |
parent | 4c82c69bf0dc0933a542ebf4b7a47f8480ba4831 (diff) |
MLK-22025-1 usb: chipidea: phy enter low power mode when host suspend
On some imx host, if USB PHY is active when bus suspended, host may
have problem on taking over resume signal of remote wakeup from usb
device, resolve this by making PHY enter low power mode right after
bus suspended.
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit 704c710f6d0267558c7443a7afbf63767b623947)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/chipidea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index f572e1e01c63..fe79de7f264e 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -66,6 +66,8 @@ struct ci_hdrc_platform_data { #define CI_HDRC_PMQOS BIT(16) /* Using PHY's charger detection */ #define CI_HDRC_PHY_CHARGER_DETECTION BIT(17) +/* PHY enter low power mode when bus suspend */ +#define CI_HDRC_HOST_SUSP_PHY_LPM BIT(18) enum usb_dr_mode dr_mode; #define CI_HDRC_CONTROLLER_RESET_EVENT 0 #define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 |