summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/Kconfig
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2015-12-08 10:31:50 -0600
committerFelipe Balbi <balbi@ti.com>2015-12-16 10:07:25 -0600
commit59f042f644c5aa10b65b7881966bed78c5c82923 (patch)
tree6e5be33e51cc8035ce08302e84b74ed0c03cc29f /drivers/usb/phy/Kconfig
parent5306661eff1a70f99456340eddf8e0cf85c2e8af (diff)
downloadop-kernel-dev-59f042f644c5aa10b65b7881966bed78c5c82923.zip
op-kernel-dev-59f042f644c5aa10b65b7881966bed78c5c82923.tar.gz
usb: phy: phy-am335x: bypass first VBUS sensing for host-only mode
To prevent VBUS contention, the am335x MUSB phy senses VBUS first before transitioning to host mode. However, for host-only mode, VBUS could be directly tied to 5V power rail which could prevent MUSB transitions to host mode. This change receives dr_mode of the controller then bypass the first VBUS sensing for host-only mode, so that MUSB can work in host mode event if VBUS is tied to 5V. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/Kconfig')
-rw-r--r--drivers/usb/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 155694c..c690474 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -66,6 +66,7 @@ config AM335X_PHY_USB
select USB_PHY
select AM335X_CONTROL_USB
select NOP_USB_XCEIV
+ select USB_COMMON
help
This driver provides PHY support for that phy which part for the
AM335x SoC.
OpenPOWER on IntegriCloud