spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / arm / plat-samsung / include / plat / camport.h
bloba5708bf84b3a0232f8a83c368795ead1be91b15c
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_SAMSUNG_CAMPORT_H_
12 #define __PLAT_SAMSUNG_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 /* __PLAT_SAMSUNG_CAMPORT_H */