summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/media/i2c/ov2680.c31
1 files changed, 9 insertions, 22 deletions
diff --git a/drivers/media/i2c/ov2680.c b/drivers/media/i2c/ov2680.c
index fd2fda2eaf8e..03ee5b5c34ea 100644
--- a/drivers/media/i2c/ov2680.c
+++ b/drivers/media/i2c/ov2680.c
@@ -131,19 +131,6 @@ static const char * const test_pattern_menu[] = {
"Black Image",
};
-static const struct reg_value ov2680_init_settings[] = {
- {0x3002, 0x00}, {0x3016, 0x1c}, {0x3082, 0x45}, {0x350b, 0x36},
- {0x3600, 0xb4}, {0x3603, 0x39}, {0x3604, 0x24}, {0x3605, 0x00},
- {0x3620, 0x26}, {0x3621, 0x37}, {0x3622, 0x04}, {0x3628, 0x00},
- {0x3701, 0x64}, {0x3784, 0x0c}, {0x3705, 0x3c}, {0x370c, 0x50},
- {0x370d, 0xc0}, {0x3718, 0x88}, {0x3720, 0x00}, {0x3721, 0x00},
- {0x3722, 0x00}, {0x3723, 0x00}, {0x3738, 0x00}, {0x3717, 0x58},
- {0x3781, 0x80}, {0x3789, 0x60}, {0x4000, 0x81}, {0x4602, 0x02},
- {0x481f, 0x36}, {0x4825, 0x36}, {0x5000, 0x3f}, {0x5002, 0x30},
- {0x5780, 0x3e}, {0x5788, 0x02}, {0x578e, 0x08}, {0x578f, 0x0c},
- {0x5792, 0x00},
-};
-
static const struct reg_value ov2680_setting_30fps_QUXGA_800_600[] = {
{0x3086, 0x01}, {0x370a, 0x23}, {0x3808, 0x03}, {0x3809, 0x20},
{0x380a, 0x02}, {0x380b, 0x58}, {0x380c, 0x06}, {0x380d, 0xac},
@@ -153,18 +140,18 @@ static const struct reg_value ov2680_setting_30fps_QUXGA_800_600[] = {
};
static const struct reg_value ov2680_setting_30fps_720P_1280_720[] = {
- {0x3086, 0x00}, {0x370a, 0x23}, {0x3808, 0x05}, {0x3809, 0x00},
- {0x380a, 0x02}, {0x380b, 0xd0}, {0x380c, 0x06}, {0x380d, 0xa8},
- {0x380e, 0x05}, {0x380f, 0x0e}, {0x3811, 0x08}, {0x3813, 0x06},
- {0x3814, 0x11}, {0x3815, 0x11}, {0x3820, 0xc0}, {0x4008, 0x00},
+ {0x3086, 0x00}, {0x3808, 0x05}, {0x3809, 0x00}, {0x380a, 0x02},
+ {0x380b, 0xd0}, {0x380c, 0x06}, {0x380d, 0xa8}, {0x380e, 0x05},
+ {0x380f, 0x0e}, {0x3811, 0x08}, {0x3813, 0x06}, {0x3814, 0x11},
+ {0x3815, 0x11}, {0x3820, 0xc0}, {0x4008, 0x00},
};
static const struct reg_value ov2680_setting_30fps_UXGA_1600_1200[] = {
- {0x3086, 0x01}, {0x370a, 0x23}, {0x3808, 0x06}, {0x3809, 0x40},
- {0x380a, 0x04}, {0x380b, 0xb0}, {0x380c, 0x06}, {0x380d, 0xac},
- {0x380e, 0x05}, {0x380f, 0x0e}, {0x3811, 0x00}, {0x3813, 0x00},
- {0x3814, 0x11}, {0x3815, 0x11}, {0x3820, 0xc0}, {0x4008, 0x00},
- {0x3501, 0x4e}, {0x3502, 0xe0},
+ {0x3086, 0x00}, {0x3501, 0x4e}, {0x3502, 0xe0}, {0x3808, 0x06},
+ {0x3809, 0x40}, {0x380a, 0x04}, {0x380b, 0xb0}, {0x380c, 0x06},
+ {0x380d, 0xa8}, {0x380e, 0x05}, {0x380f, 0x0e}, {0x3811, 0x00},
+ {0x3813, 0x00}, {0x3814, 0x11}, {0x3815, 0x11}, {0x3820, 0xc0},
+ {0x4008, 0x00}, {0x4837, 0x18}
};
static const struct ov2680_mode_info ov2680_mode_init_data = {