diff options
-rw-r--r-- | drivers/media/video/tegra/ov7695.c | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/drivers/media/video/tegra/ov7695.c b/drivers/media/video/tegra/ov7695.c index 0eaa95ada09c..5be27a87d956 100644 --- a/drivers/media/video/tegra/ov7695.c +++ b/drivers/media/video/tegra/ov7695.c @@ -68,13 +68,12 @@ static struct ov7695_reg mode_640x480_30fps[] = { {0x3024, 0x00}, {0x3630, 0x69}, {0x5090, 0x00}, - {0x3820, 0x90}, + {0x4500, 0x24}, {0x4008, 0x02}, {0x4009, 0x09}, {0x3811, 0x07}, {0x3813, 0x06}, - /* YUV order 0x4300 * 3F : YUYV(default) * 33 : YVYU @@ -82,17 +81,16 @@ static struct ov7695_reg mode_640x480_30fps[] = { * 30 : UYVY */ {0x4300, 0x30}, - {0x5000, 0xff}, {0x5001, 0x3f}, {0x5002, 0x48}, {0x5910, 0x00}, - {0x3a0f, 0x58}, - {0x3a10, 0x50}, - {0x3a1b, 0x5a}, - {0x3a1e, 0x4e}, - {0x3a11, 0xa0}, - {0x3a1f, 0x28}, + {0x3a0f, 0x38}, + {0x3a10, 0x30}, + {0x3a1b, 0x3a}, + {0x3a1e, 0x2e}, + {0x3a11, 0x90}, + {0x3a1f, 0x12}, {0x3a18, 0x00}, {0x3a19, 0xf8}, {0x3503, 0x00}, @@ -122,7 +120,7 @@ static struct ov7695_reg mode_640x480_30fps[] = { {0x5117, 0x0f}, {0x520a, 0xf4}, {0x520b, 0xf4}, - {0x520c, 0xf4}, + {0x520c, 0x84}, {0x5301, 0x05}, {0x5302, 0x0c}, {0x5303, 0x1c}, @@ -146,8 +144,8 @@ static struct ov7695_reg mode_640x480_30fps[] = { {0x5503, 0x04}, {0x5504, 0x08}, {0x5505, 0x48}, - {0x5506, 0x02}, - {0x5507, 0x16}, + {0x5506, 0x03}, + {0x5507, 0x18}, {0x5508, 0x2d}, {0x5509, 0x08}, {0x550a, 0x48}, @@ -155,20 +153,20 @@ static struct ov7695_reg mode_640x480_30fps[] = { {0x550c, 0x04}, {0x550d, 0x01}, {0x5600, 0x00}, - {0x5601, 0x2c}, - {0x5602, 0x5a}, - {0x5603, 0x06}, - {0x5604, 0x1c}, - {0x5605, 0x65}, - {0x5606, 0x81}, - {0x5607, 0x9f}, - {0x5608, 0x8a}, - {0x5609, 0x15}, + {0x5601, 0x31}, + {0x5602, 0x3A}, + {0x5603, 0x16}, + {0x5604, 0x0A}, + {0x5605, 0x61}, + {0x5606, 0x6B}, + {0x5607, 0x65}, + {0x5608, 0x4F}, + {0x5609, 0x16}, {0x560a, 0x01}, - {0x560b, 0x9c}, + {0x560b, 0x98}, {0x5800, 0x02}, - {0x5803, 0x2e}, - {0x5804, 0x20}, + {0x5803, 0x40}, + {0x5804, 0x34}, {0x0100, 0x01}, {OV7695_TABLE_END, 0x01}, }; |