2012-09-12 15:58:05 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Freescale Semiconductor, Inc.
|
|
|
|
*
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
*
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
2013-12-31 20:28:11 +04:00
|
|
|
#ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
|
|
|
|
#define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
|
|
|
|
|
2013-08-14 13:44:16 +04:00
|
|
|
struct imx_usbmisc_data {
|
2014-09-22 04:14:15 +04:00
|
|
|
struct device *dev;
|
2012-09-12 15:58:05 +04:00
|
|
|
int index;
|
|
|
|
|
2013-01-28 04:45:05 +04:00
|
|
|
unsigned int disable_oc:1; /* over current detect disabled */
|
2013-03-30 14:54:01 +04:00
|
|
|
unsigned int evdo:1; /* set external vbus divider option */
|
2012-09-12 15:58:05 +04:00
|
|
|
};
|
|
|
|
|
2013-08-14 13:44:16 +04:00
|
|
|
int imx_usbmisc_init(struct imx_usbmisc_data *);
|
|
|
|
int imx_usbmisc_init_post(struct imx_usbmisc_data *);
|
2013-12-31 20:28:11 +04:00
|
|
|
|
|
|
|
#endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */
|