diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2016-12-28 14:56:52 -0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2017-01-20 11:25:02 +0800 |
commit | 8feb3680bd0363a8d784fa0d065e0a6cdc9e0cff (patch) | |
tree | 1d925c424f253e280b2d21f42e78a79dd0e6fac0 /include/linux/usb/chipidea.h | |
parent | a89b94b53371bbfa582787c2fa3378000ea4263d (diff) | |
download | lwn-8feb3680bd0363a8d784fa0d065e0a6cdc9e0cff.tar.gz lwn-8feb3680bd0363a8d784fa0d065e0a6cdc9e0cff.zip |
usb: chipidea: Add platform flag for wrapper phy management
The ULPI phy on qcom platforms needs to be initialized and
powered on after a USB reset and before we toggle the run/stop
bit. Otherwise, the phy locks up and doesn't work properly.
Therefore, add a flag to skip any phy power management in the
core layer, leaving it up to the glue driver to manage.
Acked-by: Peter Chen <peter.chen@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
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 f9be467d6695..d07b162073f7 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -57,6 +57,7 @@ struct ci_hdrc_platform_data { #define CI_HDRC_OVERRIDE_AHB_BURST BIT(9) #define CI_HDRC_OVERRIDE_TX_BURST BIT(10) #define CI_HDRC_OVERRIDE_RX_BURST BIT(11) +#define CI_HDRC_OVERRIDE_PHY_CONTROL BIT(12) /* Glue layer manages phy */ enum usb_dr_mode dr_mode; #define CI_HDRC_CONTROLLER_RESET_EVENT 0 #define CI_HDRC_CONTROLLER_STOPPED_EVENT 1 |