omap_musb.h 602 B

123456789101112131415161718192021222324
  1. /*
  2. * Board data structure for musb gadget on OMAPs
  3. *
  4. * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. #ifndef __ASM_ARM_OMAP_MUSB_H
  9. #define __ASM_ARM_OMAP_MUSB_H
  10. extern struct musb_platform_ops musb_dsps_ops;
  11. extern const struct musb_platform_ops am35x_ops;
  12. extern const struct musb_platform_ops omap2430_ops;
  13. struct omap_musb_board_data {
  14. u8 interface_type;
  15. void (*set_phy_power)(u8 on);
  16. void (*clear_irq)(void);
  17. void (*reset)(void);
  18. };
  19. enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};
  20. #endif /* __ASM_ARM_OMAP_MUSB_H */