usb: chipidea: Add platform flag for wrapper phy management
authorStephen Boyd <stephen.boyd@linaro.org>
Wed, 28 Dec 2016 22:56:52 +0000 (14:56 -0800)
committerPeter Chen <peter.chen@nxp.com>
Fri, 20 Jan 2017 03:25:02 +0000 (11:25 +0800)
commit8feb3680bd0363a8d784fa0d065e0a6cdc9e0cff
tree1d925c424f253e280b2d21f42e78a79dd0e6fac0
parenta89b94b53371bbfa582787c2fa3378000ea4263d
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>
drivers/usb/chipidea/core.c
include/linux/usb/chipidea.h