18e22978cSAlexander Shishkin /* 28e22978cSAlexander Shishkin * Copyright 2012 Freescale Semiconductor, Inc. 38e22978cSAlexander Shishkin * 48e22978cSAlexander Shishkin * The code contained herein is licensed under the GNU General Public 58e22978cSAlexander Shishkin * License. You may obtain a copy of the GNU General Public License 68e22978cSAlexander Shishkin * Version 2 or later at the following locations: 78e22978cSAlexander Shishkin * 88e22978cSAlexander Shishkin * http://www.opensource.org/licenses/gpl-license.html 98e22978cSAlexander Shishkin * http://www.gnu.org/copyleft/gpl.html 108e22978cSAlexander Shishkin */ 118e22978cSAlexander Shishkin 12*05986ba9SSascha Hauer struct imx_usbmisc_data { 138e22978cSAlexander Shishkin int index; 148e22978cSAlexander Shishkin 158e22978cSAlexander Shishkin unsigned int disable_oc:1; /* over current detect disabled */ 168e22978cSAlexander Shishkin unsigned int evdo:1; /* set external vbus divider option */ 178e22978cSAlexander Shishkin }; 188e22978cSAlexander Shishkin 19*05986ba9SSascha Hauer int imx_usbmisc_init(struct imx_usbmisc_data *); 20*05986ba9SSascha Hauer int imx_usbmisc_init_post(struct imx_usbmisc_data *); 21