This driver is for ChipIdea USB OTG controller on Marvell Socs. PXA9xx/MMP2/MMP3/MGx all have this USB OTG controller.
Showing the changes to include/linux/platform_data (1 of 5 files). Show all
Unified · Split
| @@ -42,6 +42,11 @@ struct mv_usb_platform_data { · 41 unmodified lines | |||
| 42 | /* only valid for HCD. OTG or Host only*/ | 42 | /* only valid for HCD. OTG or Host only*/ |
| 43 | unsigned int mode; | 43 | unsigned int mode; |
| 44 | 44 | ||
| 45 | /* This flag is used for that needs id pin checked by otg */ | ||
| 46 | unsigned int disable_otg_clock_gating:1; | ||
| 47 | /* Force a_bus_req to be asserted */ | ||
| 48 | unsigned int otg_force_a_bus_req:1; | ||
| 49 | |||
| 45 | int (*phy_init)(void __iomem *regbase); | 50 | int (*phy_init)(void __iomem *regbase); |
| 46 | void (*phy_deinit)(void __iomem *regbase); | 51 | void (*phy_deinit)(void __iomem *regbase); |
| 47 | int (*set_vbus)(unsigned int vbus); | 52 | int (*set_vbus)(unsigned int vbus); |