From f6cd9007c40d2c9e8da0629b7afe8a77063e7aa9 Mon Sep 17 00:00:00 2001 From: Bryan Wu Date: Wed, 16 Oct 2013 11:07:58 -0700 Subject: media: ov5640: change 1080p resolution to 1088p Setting the resolution to 1088p (as of now), since there are flickers observed for 1080p and also the encoder is not compatible with alignement of the RM surfaces of 1080p. 1088p is a stop-gap solution until the issues with 1080p are resolved. Bug 1369083 Change-Id: I3e73076451e7671d90603c6496ad14733591edeb Signed-off-by: Bryan Wu Reviewed-on: http://git-master/r/309543 Tested-by: Vikram Fugro Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kaustubh Purandare Reviewed-by: Winnie Hsu Reviewed-by: Matthew Pedro --- drivers/media/video/ov5640.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/ov5640.c b/drivers/media/video/ov5640.c index 795d9bd541b3..04b0443a4d22 100644 --- a/drivers/media/video/ov5640.c +++ b/drivers/media/video/ov5640.c @@ -288,7 +288,7 @@ static struct ov5640_reg mode_2592x1944[] = { {OV5640_TABLE_END, 0x0000} }; -static struct ov5640_reg mode_1920x1080[] = { +static struct ov5640_reg mode_1920x1088[] = { /* PLL Control MIPI bit rate/lane = 672MHz, 16-bit mode. * Output size: 1936x1096 (336, 426) - (2287, 1529), * Line Length = 2500, Frame Length = 1120. @@ -1097,7 +1097,7 @@ static struct ov5640_reg mode_640x480[] = { enum { OV5640_MODE_640x480, OV5640_MODE_1296x972, - OV5640_MODE_1920x1080, + OV5640_MODE_1920x1088, OV5640_MODE_2592x1944, OV5640_SIZE_LAST, }; @@ -1105,7 +1105,7 @@ enum { static struct ov5640_reg *mode_table[] = { [OV5640_MODE_640x480] = mode_640x480, [OV5640_MODE_1296x972] = mode_1296x972, - [OV5640_MODE_1920x1080] = mode_1920x1080, + [OV5640_MODE_1920x1088] = mode_1920x1088, [OV5640_MODE_2592x1944] = mode_2592x1944, }; @@ -1144,7 +1144,7 @@ static enum v4l2_mbus_pixelcode ov5640_codes[] = { static const struct v4l2_frmsize_discrete ov5640_frmsizes[OV5640_SIZE_LAST] = { {640, 480}, {1296, 972}, - {1920, 1080}, + {1920, 1088}, {2592, 1944}, }; -- cgit v1.2.3