1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2012 Freescale Semiconductor, Inc.
6 #ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
7 #define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
9 struct imx_usbmisc_data
{
13 unsigned int disable_oc
:1; /* over current detect disabled */
14 unsigned int oc_polarity
:1; /* over current polarity if oc enabled */
15 unsigned int evdo
:1; /* set external vbus divider option */
16 unsigned int ulpi
:1; /* connected to an ULPI phy */
19 int imx_usbmisc_init(struct imx_usbmisc_data
*);
20 int imx_usbmisc_init_post(struct imx_usbmisc_data
*);
21 int imx_usbmisc_set_wakeup(struct imx_usbmisc_data
*, bool);
23 #endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */