]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
media: platform: tegra: update OV7695 settings
authorFrank Chen <frankc@nvidia.com>
Wed, 8 Oct 2014 23:06:20 +0000 (16:06 -0700)
committerBharat Nihalani <bnihalani@nvidia.com>
Mon, 10 Nov 2014 08:04:32 +0000 (00:04 -0800)
- Increase max gain
- Reduce AE response time
- Update AE weighting table
- Reduce luma falloff

Bug 1557945

Change-Id: Id15f8fd11701365a8dbb0401ab42c26c03770a74
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/554788
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sean Pieper <spieper@nvidia.com>
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/media/platform/tegra/ov7695.c

index 352292fd72e1b83625921a78691723b429cf90a4..ea1c04a8efedeef36e32ecd3393302243c692314 100644 (file)
@@ -87,9 +87,10 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x3a1b, 0x4a},
        {0x3a1e, 0x3e},
        {0x3a1f, 0x18},
-       {0x3a18, 0x00},
-       {0x3a19, 0xf8},
+       {0x3a18, 0x03},
+       {0x3a19, 0xe0},
        {0x3503, 0x00},
+       {0x3a05, 0x28},
        {0x3a00, 0x7c},
        {0x382a, 0x08},
        {0x3a02, 0x03},
@@ -103,7 +104,7 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x5101, 0x50},
        {0x5102, 0x00},
        {0x5103, 0xf8},
-       {0x5104, 0x03},
+       {0x5104, 0x04},
        {0x5105, 0x00},
        {0x5106, 0x00},
        {0x5107, 0x00},
@@ -111,7 +112,7 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x5109, 0x50},
        {0x510a, 0x00},
        {0x510b, 0xf8},
-       {0x510c, 0x02},
+       {0x510c, 0x03},
        {0x510d, 0x00},
        {0x510e, 0x00},
        {0x510f, 0x00},
@@ -119,7 +120,7 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x5111, 0x50},
        {0x5112, 0x00},
        {0x5113, 0xf8},
-       {0x5114, 0x02},
+       {0x5114, 0x03},
        {0x5115, 0x00},
        {0x5116, 0x00},
        {0x5117, 0x00},
@@ -146,7 +147,7 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x5003, 0x80},
        {0x5500, 0x08},
        {0x5501, 0x48},
-       {0x5502, 0x16},
+       {0x5502, 0x26},
        {0x5503, 0x08},
        {0x5504, 0x08},
        {0x5505, 0x48},
@@ -173,14 +174,14 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x5800, 0x02},
        {0x5803, 0x38},
        {0x5804, 0x34},
-       {0x5908, 0x62},
-       {0x5909, 0x26},
-       {0x590a, 0xe6},
-       {0x590b, 0x6e},
-       {0x590c, 0xea},
-       {0x590d, 0xae},
-       {0x590e, 0xa6},
-       {0x590f, 0x6a},
+       {0x5908, 0x31},
+       {0x5909, 0x13},
+       {0x590a, 0xf3},
+       {0x590b, 0x3f},
+       {0x590c, 0xf3},
+       {0x590d, 0x3f},
+       {0x590e, 0x31},
+       {0x590f, 0x13},
        {0x0100, 0x01},
        {OV7695_TABLE_END, 0x01},
 };