blob: 996ec93467b21115bffbeeda2f4d3f8c90bc9933 [file] [log] [blame]
Richard Zhaod142d6b2012-09-12 14:58:05 +03001/*
2 * Copyright 2012 Freescale Semiconductor, Inc.
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
Rahul Bedarkar292abc92013-12-31 21:58:11 +053012#ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
13#define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
14
Sascha Hauer05986ba2013-08-14 12:44:16 +030015struct imx_usbmisc_data {
Richard Zhaod142d6b2012-09-12 14:58:05 +030016 int index;
17
Fabio Estevam7b8bc3a2013-01-27 22:45:05 -020018 unsigned int disable_oc:1; /* over current detect disabled */
Michael Grzeschika0685332013-03-30 12:54:01 +020019 unsigned int evdo:1; /* set external vbus divider option */
Richard Zhaod142d6b2012-09-12 14:58:05 +030020};
21
Sascha Hauer05986ba2013-08-14 12:44:16 +030022int imx_usbmisc_init(struct imx_usbmisc_data *);
23int imx_usbmisc_init_post(struct imx_usbmisc_data *);
Rahul Bedarkar292abc92013-12-31 21:58:11 +053024
25#endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */