camport.h 870 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (C) 2011 Samsung Electronics Co., Ltd.
  3. *
  4. * S5P series camera interface helper functions
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __PLAT_SAMSUNG_CAMPORT_H_
  11. #define __PLAT_SAMSUNG_CAMPORT_H_ __FILE__
  12. enum s5p_camport_id {
  13. S5P_CAMPORT_A,
  14. S5P_CAMPORT_B,
  15. };
  16. /*
  17. * The helper functions to configure GPIO for the camera parallel bus.
  18. * The camera port can be multiplexed with any FIMC entity, even multiple
  19. * FIMC entities are allowed to be attached to a single port simultaneously.
  20. * These functions are to be used in the board setup code.
  21. */
  22. int s5pv210_fimc_setup_gpio(enum s5p_camport_id id);
  23. int exynos4_fimc_setup_gpio(enum s5p_camport_id id);
  24. #endif /* __PLAT_SAMSUNG_CAMPORT_H */