Skip to content
Commit 300eb013 authored by David Lechner's avatar David Lechner Committed by Kishon Vijay Abraham I
Browse files

phy: Add set_mode callback



The initial use for this is for PHYs that have a mode related to USB OTG.
There are several SoCs (e.g. TI OMAP and DA8xx) that have a mode setting
in the USB PHY to override OTG VBUS and ID signals.

Of course, the enum can be expaned in the future to include modes for
other types of PHYs as well.

Suggested-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
parent 65048f4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment