USB: OTG: add Marvell usb OTG driver support
This driver is for ChipIdea USB OTG controller on Marvell Socs. PXA9xx/MMP2/MMP3/MGx all have this USB OTG controller. Signed-off-by: Neil Zhang <zhangwm@marvell.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
@@ -42,6 +42,11 @@ struct mv_usb_platform_data {
|
||||
/* only valid for HCD. OTG or Host only*/
|
||||
unsigned int mode;
|
||||
|
||||
/* This flag is used for that needs id pin checked by otg */
|
||||
unsigned int disable_otg_clock_gating:1;
|
||||
/* Force a_bus_req to be asserted */
|
||||
unsigned int otg_force_a_bus_req:1;
|
||||
|
||||
int (*phy_init)(void __iomem *regbase);
|
||||
void (*phy_deinit)(void __iomem *regbase);
|
||||
int (*set_vbus)(unsigned int vbus);
|
||||
|
Reference in New Issue
Block a user