diff options
author | Neil Zhang <zhangwm@marvell.com> | 2011-12-20 00:20:22 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-20 05:58:07 -0500 |
commit | 277164f03f466b7a1ea0d0c3dac8b8a0599ce0dc (patch) | |
tree | 1ddab80a78bc96edeef31607e22a8162a2f9da48 /include/linux/platform_data | |
parent | 5e6c86b017691230b6b47f19b7d5449997e8a0b8 (diff) |
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/mv_usb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/platform_data/mv_usb.h b/include/linux/platform_data/mv_usb.h index a642cf20ad6e..f4cb0ec373c3 100644 --- a/include/linux/platform_data/mv_usb.h +++ b/include/linux/platform_data/mv_usb.h | |||
@@ -42,6 +42,11 @@ struct mv_usb_platform_data { | |||
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); |