diff options
author | Neil Zhang <zhangwm@marvell.com> | 2011-12-20 09:20:22 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-20 14:58:07 +0400 |
commit | 277164f03f466b7a1ea0d0c3dac8b8a0599ce0dc (patch) | |
tree | 1ddab80a78bc96edeef31607e22a8162a2f9da48 /include | |
parent | 5e6c86b017691230b6b47f19b7d5449997e8a0b8 (diff) | |
download | linux-277164f03f466b7a1ea0d0c3dac8b8a0599ce0dc.tar.xz |
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')
-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 { /* 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); |