diff options
author | George Cherian <george.cherian@ti.com> | 2013-10-15 15:32:14 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-19 09:27:42 -0600 |
commit | c4b34a3b7a505dd63268cf6dcf57d10068b47cb6 (patch) | |
tree | 8f37f59c1d410caaaec46f424f8e981d1a1a8e28 /include/linux/usb | |
parent | db67bc04bdc8cac2307af09c92cd73751905ec0e (diff) | |
download | linux-stable-c4b34a3b7a505dd63268cf6dcf57d10068b47cb6.tar.gz linux-stable-c4b34a3b7a505dd63268cf6dcf57d10068b47cb6.tar.bz2 linux-stable-c4b34a3b7a505dd63268cf6dcf57d10068b47cb6.zip |
usb: phy: omap: Add omap-control Support for AM437x
This adds omap control module support for USBSS in AM437x SoC.
Update DT binding information to reflect these changes.
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/omap_control_usb.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/usb/omap_control_usb.h b/include/linux/usb/omap_control_usb.h index 596b01918813..69ae383ee3cc 100644 --- a/include/linux/usb/omap_control_usb.h +++ b/include/linux/usb/omap_control_usb.h @@ -24,6 +24,7 @@ enum omap_control_usb_type { OMAP_CTRL_TYPE_USB2, /* USB2_PHY, power down in CONTROL_DEV_CONF */ OMAP_CTRL_TYPE_PIPE3, /* PIPE3 PHY, DPLL & seperate Rx/Tx power */ OMAP_CTRL_TYPE_DRA7USB2, /* USB2 PHY, power and power_aux e.g. DRA7 */ + OMAP_CTRL_TYPE_AM437USB2, /* USB2 PHY, power e.g. AM437x */ }; struct omap_control_usb { @@ -64,6 +65,11 @@ enum omap_control_usb_mode { #define OMAP_CTRL_USB2_PHY_PD BIT(28) +#define AM437X_CTRL_USB2_PHY_PD BIT(0) +#define AM437X_CTRL_USB2_OTG_PD BIT(1) +#define AM437X_CTRL_USB2_OTGVDET_EN BIT(19) +#define AM437X_CTRL_USB2_OTGSESSEND_EN BIT(20) + #if IS_ENABLED(CONFIG_OMAP_CONTROL_USB) extern void omap_control_usb_phy_power(struct device *dev, int on); extern void omap_control_usb_set_mode(struct device *dev, |