enum fsl_usb2_operating_modes { | |
FSL_USB2_MPH_HOST, | |
FSL_USB2_DR_HOST, | |
FSL_USB2_DR_DEVICE, | |
FSL_USB2_DR_OTG, | |
}; | |
enum fsl_usb2_phy_modes { | |
FSL_USB2_PHY_NONE, | |
FSL_USB2_PHY_ULPI, | |
FSL_USB2_PHY_UTMI, | |
FSL_USB2_PHY_UTMI_WIDE, | |
FSL_USB2_PHY_SERIAL, | |
}; | |
struct fsl_usb2_platform_data { | |
/* board specific information */ | |
enum fsl_usb2_operating_modes operating_mode; | |
enum fsl_usb2_phy_modes phy_mode; | |
unsigned int port_enables; | |
}; | |