ci_hdrc_imx.h 836 B

123456789101112131415161718192021222324252627
  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. #ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
  12. #define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
  13. struct imx_usbmisc_data {
  14. struct device *dev;
  15. int index;
  16. unsigned int disable_oc:1; /* over current detect disabled */
  17. unsigned int evdo:1; /* set external vbus divider option */
  18. };
  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);
  22. #endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */