From 922bbd7acffac1290456995c08ead5c7cba529ce Mon Sep 17 00:00:00 2001 From: Robert Jong-A-Lock Date: Wed, 30 Nov 2011 16:41:34 +0100 Subject: [PATCH] [PORT FROM R2] atomisp: mt9e013: updated sensor settings (3) BZ: 17272 Maximised VBI settings for VGA, QVGA and QCIF video modes Change-Id: Ifa7bb3b0d5d109cf58a476afb81f9ec7898812ac Orig-Change-Id: Id13f23945a97ce71ba04275a0674e60ba982c1df Reviewed-on: http://android.intel.com:8080/25715 Reviewed-by: Jong-a-lock, Robert Reviewed-by: Cohen, David A Reviewed-by: Wang, Wen W Reviewed-by: Toivonen, Tuukka Tested-by: Ilvonen, Ville Reviewed-by: buildbot Tested-by: buildbot Reviewed-on: http://android.intel.com:8080/28044 Reviewed-by: Tuominen, TeemuX Reviewed-by: Koski, Anttu Tested-by: Koski, Anttu --- drivers/media/video/mt9e013.h | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/media/video/mt9e013.h b/drivers/media/video/mt9e013.h index 4035733..0f40708 100644 --- a/drivers/media/video/mt9e013.h +++ b/drivers/media/video/mt9e013.h @@ -823,11 +823,12 @@ static struct mt9e013_reg const mt9e013_VGA_strong_dvs_30fps[] = { {MT9E013_16BIT, {0x034E}, 0x0268 }, /* Y_OUTPUT_SIZE 616 */ {MT9E013_16BIT, {0x3040}, 0x04C3 }, /* READ_MODE 1219 */ /* Timing Configuation */ - {MT9E013_16BIT, {0x0342}, 0x20F0 }, /* line_length_pck 8432 */ - {MT9E013_16BIT, {0x0340}, 0x02F7 }, /* frame_length_lines 759 */ - {MT9E013_16BIT, {0x0202}, 0x02F7 }, /* COARSE_INTEGRATION_TIME 759 */ - {MT9E013_16BIT, {0x3014}, 0x0846 }, /* FINE_INTEGRATION_TIME 2118 */ - {MT9E013_16BIT, {0x3010}, 0x0130 }, /* FINE_CORRECTION 304 */ + + {MT9E013_16BIT, {0x0342}, 0x1020 }, /* line_length_pck 4128 */ + {MT9E013_16BIT, {0x0340}, 0x060E }, /* frame_length_lines 1550 */ + {MT9E013_16BIT, {0x0202}, 0x0573 }, /* COARSE_INTEGRATION_TIME 1395 */ + {MT9E013_16BIT, {0x3014}, 0x0846 }, /* FINE_INTEGRATION_TIME 2118 */ + {MT9E013_16BIT, {0x3010}, 0x0130 }, /* FINE_CORRECTION 304 */ /* scaler */ {MT9E013_16BIT, {0x0400}, 0x2 }, /* SCALE_MODE 1 */ {MT9E013_16BIT, {0x0404}, 0x20 }, /* SCALE_M 32 */ @@ -846,11 +847,11 @@ static struct mt9e013_reg const mt9e013_QVGA_strong_dvs_30fps[] = { {MT9E013_16BIT, {0x034E}, 0x0134 }, /* Y_OUTPUT_SIZE 308 */ {MT9E013_16BIT, {0x3040}, 0x04C3 }, /* READ_MODE 1219 */ /* Timing Configuation */ - {MT9E013_16BIT, {0x0342}, 0x20F0 }, /* line_length_pck 8432 */ - {MT9E013_16BIT, {0x0340}, 0x02F7 }, /* frame_length_lines 759 */ - {MT9E013_16BIT, {0x0202}, 0x02F7 }, /* COARSE_INTEGRATION_TIME 759 */ - {MT9E013_16BIT, {0x3014}, 0x0846 }, /* FINE_INTEGRATION_TIME 2118 */ - {MT9E013_16BIT, {0x3010}, 0x0130 }, /* FINE_CORRECTION 304 */ + {MT9E013_16BIT, {0x0342}, 0x1020 }, /* line_length_pck 4128 */ + {MT9E013_16BIT, {0x0340}, 0x060E }, /* frame_length_lines 1550 */ + {MT9E013_16BIT, {0x0202}, 0x0573 }, /* COARSE_INTEGRATION_TIME 1395 */ + {MT9E013_16BIT, {0x3014}, 0x0846 }, /* FINE_INTEGRATION_TIME 2118 */ + {MT9E013_16BIT, {0x3010}, 0x0130 }, /* FINE_CORRECTION 304 */ /* scaler */ {MT9E013_16BIT, {0x0400}, 0x2 }, /* SCALE_MODE 1 */ {MT9E013_16BIT, {0x0404}, 0x40 }, /* SCALE_M 64 */ @@ -869,11 +870,11 @@ static struct mt9e013_reg const mt9e013_QCIF_strong_dvs_30fps[] = { {MT9E013_16BIT, {0x034E}, 0x00B0 }, /* Y_OUTPUT_SIZE 176 */ {MT9E013_16BIT, {0x3040}, 0x04C3 }, /* READ_MODE 1219 */ /* Timing Configuation */ - {MT9E013_16BIT, {0x0342}, 0x20F0 }, /* line_length_pck 8432 */ - {MT9E013_16BIT, {0x0340}, 0x02F7 }, /* frame_length_lines 759 */ - {MT9E013_16BIT, {0x0202}, 0x02F7 }, /* COARSE_INTEGRATION_TIME 759 */ - {MT9E013_16BIT, {0x3014}, 0x0846 }, /* FINE_INTEGRATION_TIME 2118 */ - {MT9E013_16BIT, {0x3010}, 0x0130 }, /* FINE_CORRECTION 304 */ + {MT9E013_16BIT, {0x0342}, 0x1020 }, /* line_length_pck 4128 */ + {MT9E013_16BIT, {0x0340}, 0x060E }, /* frame_length_lines 1550 */ + {MT9E013_16BIT, {0x0202}, 0x0573 }, /* COARSE_INTEGRATION_TIME 1395 */ + {MT9E013_16BIT, {0x3014}, 0x0846 }, /* FINE_INTEGRATION_TIME 2118 */ + {MT9E013_16BIT, {0x3010}, 0x0130 }, /* FINE_CORRECTION 304 */ /* scaler */ {MT9E013_16BIT, {0x0400}, 0x2 }, /* SCALE_MODE 1 */ {MT9E013_16BIT, {0x0404}, 0x70 }, /* SCALE_M 112 */ -- 2.7.4