aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/omap_usb.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-01-25 05:24:00 -0500
committerFelipe Balbi <balbi@ti.com>2013-01-25 05:27:24 -0500
commitca784be36cc725bca9b526eba342de7550329731 (patch)
tree23f0da8e88f81d73587e06a6d295260d50494eb7 /include/linux/usb/omap_usb.h
parent01658f0f8d1322dbf94f289aa610731d539bf888 (diff)
usb: start using the control module driver
Start using the control module driver for powering on the PHY and for writing to the mailbox instead of writing to the control module registers on their own. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/omap_usb.h')
-rw-r--r--include/linux/usb/omap_usb.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/usb/omap_usb.h b/include/linux/usb/omap_usb.h
index 0ea17f8ae820..3db9b5316b10 100644
--- a/include/linux/usb/omap_usb.h
+++ b/include/linux/usb/omap_usb.h
@@ -25,13 +25,11 @@ struct omap_usb {
25 struct usb_phy phy; 25 struct usb_phy phy;
26 struct phy_companion *comparator; 26 struct phy_companion *comparator;
27 struct device *dev; 27 struct device *dev;
28 u32 __iomem *control_dev; 28 struct device *control_dev;
29 struct clk *wkupclk; 29 struct clk *wkupclk;
30 u8 is_suspended:1; 30 u8 is_suspended:1;
31}; 31};
32 32
33#define PHY_PD 0x1
34
35#define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) 33#define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
36 34
37#if defined(CONFIG_OMAP_USB2) || defined(CONFIG_OMAP_USB2_MODULE) 35#if defined(CONFIG_OMAP_USB2) || defined(CONFIG_OMAP_USB2_MODULE)