dt-bindings: mtd: ingenic: Use standard ecc-engine property
[linux/fpc-iii.git] / drivers / usb / chipidea / ci_hdrc_imx.h
blobc842e03f8767bcdf2f6a756c7ffed723ce46a7fb
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright 2012 Freescale Semiconductor, Inc.
4 */
6 #ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
7 #define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
9 struct imx_usbmisc_data {
10 struct device *dev;
11 int index;
13 unsigned int disable_oc:1; /* over current detect disabled */
15 /* true if over-current polarity is active low */
16 unsigned int oc_pol_active_low:1;
18 /* true if dt specifies polarity */
19 unsigned int oc_pol_configured:1;
21 unsigned int pwr_pol:1; /* power polarity */
22 unsigned int evdo:1; /* set external vbus divider option */
23 unsigned int ulpi:1; /* connected to an ULPI phy */
24 unsigned int hsic:1; /* HSIC controlller */
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);
33 #endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */