tegra_usb.h 843 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2010 Google, Inc.
  3. *
  4. * This software is licensed under the terms of the GNU General Public
  5. * License version 2, as published by the Free Software Foundation, and
  6. * may be copied, distributed, and modified under those terms.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. */
  14. #ifndef _TEGRA_USB_H_
  15. #define _TEGRA_USB_H_
  16. enum tegra_usb_operating_modes {
  17. TEGRA_USB_DEVICE,
  18. TEGRA_USB_HOST,
  19. TEGRA_USB_OTG,
  20. };
  21. struct tegra_ehci_platform_data {
  22. enum tegra_usb_operating_modes operating_mode;
  23. /* power down the phy on bus suspend */
  24. int power_down_on_bus_suspend;
  25. void *phy_config;
  26. };
  27. #endif /* _TEGRA_USB_H_ */