samsung-usbphy.h 833 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2012 Samsung Electronics Co.Ltd
  3. * http://www.samsung.com/
  4. * Author: Praveen Paneri <p.paneri@samsung.com>
  5. *
  6. * Defines platform data for samsung usb phy driver.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. #ifndef __SAMSUNG_USBPHY_PLATFORM_H
  14. #define __SAMSUNG_USBPHY_PLATFORM_H
  15. /**
  16. * samsung_usbphy_data - Platform data for USB PHY driver.
  17. * @pmu_isolation: Function to control usb phy isolation in PMU.
  18. */
  19. struct samsung_usbphy_data {
  20. void (*pmu_isolation)(int on);
  21. };
  22. extern void samsung_usbphy_set_pdata(struct samsung_usbphy_data *pd);
  23. #endif /* __SAMSUNG_USBPHY_PLATFORM_H */