Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / arm / plat-s5p / include / plat / camport.h
blob71688c8ba288cfd3b070a9d8cc500839136355b1
1 /*
2 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
4 * S5P series camera interface helper functions
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 */
11 #ifndef PLAT_S5P_CAMPORT_H_
12 #define PLAT_S5P_CAMPORT_H_ __FILE__
14 enum s5p_camport_id {
15 S5P_CAMPORT_A,
16 S5P_CAMPORT_B,
20 * The helper functions to configure GPIO for the camera parallel bus.
21 * The camera port can be multiplexed with any FIMC entity, even multiple
22 * FIMC entities are allowed to be attached to a single port simultaneously.
23 * These functions are to be used in the board setup code.
25 int s5pv210_fimc_setup_gpio(enum s5p_camport_id id);
26 int exynos4_fimc_setup_gpio(enum s5p_camport_id id);
28 #endif