commit | 300eb0139cf27044c67f6005ff17b8434c7843f0 | [log] [tgz] |
---|---|---|
author | David Lechner <david@lechnology.com> | Mon May 09 18:39:59 2016 -0500 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Mon Jul 04 17:19:22 2016 +0530 |
tree | 62c0de657f6928db11a9139c3c552b877ec7958b | |
parent | 65048f4dd9fae7335b48ab23a879119c0e7fa105 [diff] |
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: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: David Lechner <david@lechnology.com>