• Bin Liu's avatar
    usb: phy: phy-am335x: bypass first VBUS sensing for host-only mode · 59f042f6
    Bin Liu authored
    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: default avatarBin Liu <b-liu@ti.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    59f042f6
phy-am335x-control.h 611 Bytes