blob: c7271590dd0a8af9c8e7f79508d5cf94be79ca75 [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
Sascha Hauer05986ba2013-08-14 12:44:16 +030012struct imx_usbmisc_data {
Richard Zhaod142d6b2012-09-12 14:58:05 +030013 int index;
14
Fabio Estevam7b8bc3a2013-01-27 22:45:05 -020015 unsigned int disable_oc:1; /* over current detect disabled */
Michael Grzeschika0685332013-03-30 12:54:01 +020016 unsigned int evdo:1; /* set external vbus divider option */
Richard Zhaod142d6b2012-09-12 14:58:05 +030017};
18
Sascha Hauer05986ba2013-08-14 12:44:16 +030019int imx_usbmisc_init(struct imx_usbmisc_data *);
20int imx_usbmisc_init_post(struct imx_usbmisc_data *);