media: platform: tegra: Update OV5693 THS_PREPARE
Frank Chen [Fri, 10 Jul 2015 22:53:41 +0000 (15:53 -0700)]
Update OV5693 THS_PREPARE settings to meet MIPI
spec

Bug 200114169

Change-Id: I94b7dfc20a590d39577e200dc85d372cef9d5e6b
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/769044
(cherry picked from commit 3e565be6ee8cce8b01c29899bab6562c6cbb829b)
Reviewed-on: http://git-master/r/806105
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anton Kondratenko <akondratenko@nvidia.com>
Tested-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>

drivers/media/platform/tegra/ov5693.c

index 17147a4..1b3a013 100644 (file)
@@ -350,8 +350,8 @@ static const struct reg_8 ov5693_2592x1944_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -597,8 +597,8 @@ static const struct reg_8 ov5693_1296x972_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -844,8 +844,8 @@ static const struct reg_8 ov5693_1920x1080_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -1349,8 +1349,8 @@ static const struct reg_8 ov5693_1280x720_120fps_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -1597,8 +1597,8 @@ static const struct reg_8 ov5693_2592x1944_HDR_24fps_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -1845,8 +1845,8 @@ static const struct reg_8 ov5693_1920x1080_HDR_30fps_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -2093,8 +2093,8 @@ static const struct reg_8 ov5693_1296x972_HDR_30fps_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},
@@ -2341,8 +2341,8 @@ static const struct reg_8 ov5693_1280x720_HDR_60fps_i2c[] = {
        {0x4806, 0x00},
        {0x4816, 0x52},
        {0x481f, 0x30},
-       {0x4826, 0x2c},
-       {0x4831, 0x64},
+       {0x4826, 0x32},
+       {0x4831, 0x6a},
        {0x4d00, 0x04},
        {0x4d01, 0x71},
        {0x4d02, 0xfd},