Merge tag 'power-exynos' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux...
[deliverable/linux.git] / arch / arm / plat-samsung / include / plat / camport.h
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
11 #ifndef __PLAT_SAMSUNG_CAMPORT_H_
12 #define __PLAT_SAMSUNG_CAMPORT_H_ __FILE__
13
14 enum s5p_camport_id {
15 S5P_CAMPORT_A,
16 S5P_CAMPORT_B,
17 };
18
19 /*
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.
24 */
25 int s5pv210_fimc_setup_gpio(enum s5p_camport_id id);
26 int exynos4_fimc_setup_gpio(enum s5p_camport_id id);
27
28 #endif /* __PLAT_SAMSUNG_CAMPORT_H */
This page took 0.046284 seconds and 5 git commands to generate.