]> git.karo-electronics.de Git - linux-beck.git/commit
usb: chipidea: add a flag for turn on vbus early for host
authorLi Jun <b47624@freescale.com>
Wed, 11 Feb 2015 04:45:01 +0000 (12:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 15:19:12 +0000 (16:19 +0100)
commit6adb9b7b5fb64be3c3e4d57578ea1446da91a8f9
tree42736461049b926d4315d1e66c165f3fbe11dd12
parentba1aff67f99a219b0c56bf7f10cea2c41cbd0583
usb: chipidea: add a flag for turn on vbus early for host

Some usb PHYs need power supply from vbus to make it work, eg mxs-phy, 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_TURN_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>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_imx.c
include/linux/usb/chipidea.h