fsa9480.h 656 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (C) 2010 Samsung Electronics
  3. * Minkyu Kang <mk7.kang@samsung.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef _FSA9480_H_
  10. #define _FSA9480_H_
  11. #define FSA9480_ATTACHED 1
  12. #define FSA9480_DETACHED 0
  13. struct fsa9480_platform_data {
  14. void (*cfg_gpio) (void);
  15. void (*usb_cb) (u8 attached);
  16. void (*uart_cb) (u8 attached);
  17. void (*charger_cb) (u8 attached);
  18. void (*jig_cb) (u8 attached);
  19. void (*reset_cb) (void);
  20. void (*usb_power) (u8 on);
  21. int wakeup;
  22. };
  23. #endif /* _FSA9480_H_ */