[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / drivers / media / platform / exynos / fimc-is2 / sensor / module_framework / cis / fimc-is-cis-5e3.h
1 /*
2 * Samsung Exynos5 SoC series Sensor driver
3 *
4 *
5 * Copyright (c) 2011 Samsung Electronics Co., Ltd
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12 #ifndef FIMC_IS_CIS_5E3_H
13 #define FIMC_IS_CIS_5E3_H
14
15 #include "fimc-is-cis.h"
16
17 #define EXT_CLK_Mhz (24.37)
18
19 #define SENSOR_5E3_MAX_WIDTH (2560 + 16)
20 #define SENSOR_5E3_MAX_HEIGHT (1920 + 12)
21
22 /* TODO: Check below values are valid */
23 #define SENSOR_5E3_FINE_INTEGRATION_TIME_MIN 0x64
24 #define SENSOR_5E3_FINE_INTEGRATION_TIME_MAX 0x64
25 #define SENSOR_5E3_COARSE_INTEGRATION_TIME_MIN 0x3
26 #define SENSOR_5E3_COARSE_INTEGRATION_TIME_MAX_MARGIN 0x4
27
28 #define USE_GROUP_PARAM_HOLD (1)
29
30 #if defined(CONFIG_CAMERA_OTPROM_SUPPORT_FRONT)
31 #define USE_OTP_AWB_CAL_DATA (1)
32 #else
33 #define USE_OTP_AWB_CAL_DATA (0)
34 #endif
35
36 #endif
37