]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10179-1 usb: chipidea: add a flag for turn on vbus early for host
authorLi Jun <b47624@freescale.com>
Tue, 3 Feb 2015 05:40:47 +0000 (13:40 +0800)
committerLi Jun <jun.li@freescale.com>
Wed, 11 Feb 2015 07:35:40 +0000 (15:35 +0800)
commit83f839d2e5d4783c51abce433f177c82b1a3ec9c
tree05c2ea6cb0503d80418a13a98e4c859deb2cf4ee
parentf07791882d531c0033b85f4f5437839dc173aae8
MLK-10179-1 usb: chipidea: add a flag for turn on vbus early for host

Some PHY of imx usb need power supply from vbus to make it work, if there
is no vbus, USB PHY will not in correct state when the controller starts to
work, for host, this requires vbus should be turned on before setting port
power(PP) of ehci, to work with this kind of USB PHY design, this patch adds
a flag CI_HDRC_IMX_VBUS_EARLY_ON, can be checked by host driver to turn on
vbus while start host.

Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit 1d4c054323817b49897fd7a59bc57b4d36f09491)
drivers/usb/chipidea/ci_hdrc_imx.c
include/linux/usb/chipidea.h