Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'
[deliverable/linux.git] / drivers / usb / chipidea / ci_hdrc_imx.h
CommitLineData
d142d6be
RZ
1/*
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
292abc90
RB
12#ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
13#define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
14
05986ba9 15struct imx_usbmisc_data {
f40017e0 16 struct device *dev;
d142d6be
RZ
17 int index;
18
7b8bc3aa 19 unsigned int disable_oc:1; /* over current detect disabled */
a5c1ede2 20 unsigned int oc_polarity:1; /* over current polarity if oc enabled */
a0685330 21 unsigned int evdo:1; /* set external vbus divider option */
d142d6be
RZ
22};
23
05986ba9
SH
24int imx_usbmisc_init(struct imx_usbmisc_data *);
25int imx_usbmisc_init_post(struct imx_usbmisc_data *);
f636cec5 26int imx_usbmisc_set_wakeup(struct imx_usbmisc_data *, bool);
292abc90
RB
27
28#endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */
This page took 0.25098 seconds and 5 git commands to generate.