1
2
3
4
5
6 #ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
7 #define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
8
9 struct imx_usbmisc_data {
10 struct device *dev;
11 int index;
12
13 unsigned int disable_oc:1;
14
15
16 unsigned int oc_pol_active_low:1;
17
18
19 unsigned int oc_pol_configured:1;
20
21 unsigned int pwr_pol:1;
22 unsigned int evdo:1;
23 unsigned int ulpi:1;
24 unsigned int hsic:1;
25 };
26
27 int imx_usbmisc_init(struct imx_usbmisc_data *data);
28 int imx_usbmisc_init_post(struct imx_usbmisc_data *data);
29 int imx_usbmisc_set_wakeup(struct imx_usbmisc_data *data, bool enabled);
30 int imx_usbmisc_hsic_set_connect(struct imx_usbmisc_data *data);
31 int imx_usbmisc_hsic_set_clk(struct imx_usbmisc_data *data, bool on);
32
33 #endif