es705-platform.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * es705-i2s.h -- Audience eS705 platform dependent functions
  3. *
  4. * Copyright 2011 Audience, Inc.
  5. *
  6. * Author: Genisim Tsilker <gtsilker@audience.com>
  7. *
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef _ES705_PLATFORM_H
  14. #define _ES705_PLATFORM_H
  15. void es705_gpio_reset(struct es705_priv *es705);
  16. int es705_gpio_init(struct es705_priv *es705);
  17. void es705_gpio_free(struct esxxx_platform_data *pdata);
  18. void es705_clk_init(struct es705_priv *es705);
  19. void es705_vs_event(struct es705_priv *es705);
  20. #if defined(SAMSUNG_ES705_FEATURE)
  21. void es705_gpio_wakeup(struct es705_priv *es705);
  22. int es705_init_input_device(struct es705_priv *es705);
  23. void es705_unregister_input_device(struct es705_priv *es705);
  24. void es705_uart_pin_preset(struct es705_priv *es705);
  25. void es705_uart_pin_postset(struct es705_priv *es705);
  26. #endif
  27. struct esxxx_platform_data *es705_populate_dt_pdata(struct device *dev);
  28. #endif