diff options
author | Bin Liu <b-liu@ti.com> | 2015-12-08 10:31:50 -0600 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-12-16 10:07:25 -0600 |
commit | 59f042f644c5aa10b65b7881966bed78c5c82923 (patch) | |
tree | 6e5be33e51cc8035ce08302e84b74ed0c03cc29f /drivers/usb/phy/Kconfig | |
parent | 5306661eff1a70f99456340eddf8e0cf85c2e8af (diff) | |
download | linux-59f042f644c5aa10b65b7881966bed78c5c82923.tar.bz2 |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 155694c1a536..c6904742e2aa 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. |