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>
This commit is contained in:

committed by
Felipe Balbi

parent
01658f0f8d
commit
ca784be36c
@@ -25,13 +25,11 @@ struct omap_usb {
|
||||
struct usb_phy phy;
|
||||
struct phy_companion *comparator;
|
||||
struct device *dev;
|
||||
u32 __iomem *control_dev;
|
||||
struct device *control_dev;
|
||||
struct clk *wkupclk;
|
||||
u8 is_suspended:1;
|
||||
};
|
||||
|
||||
#define PHY_PD 0x1
|
||||
|
||||
#define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
|
||||
|
||||
#if defined(CONFIG_OMAP_USB2) || defined(CONFIG_OMAP_USB2_MODULE)
|
||||
|
Reference in New Issue
Block a user