media: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor
authorAndrei Warkentin <andreiw@motorola.com>
Sat, 2 Oct 2010 01:27:16 +0000 (20:27 -0500)
committerRebecca Schultz Zavin <rebecca@android.com>
Thu, 7 Oct 2010 20:38:13 +0000 (13:38 -0700)
The AP20 experiences issues with MIPI when using continuous clocking
with the 5650.  HW team is investigating.  This switches the 5650 to
discontinuous clocking, which has a side benefit of reducing current drain.

Change-Id: Ifb510d2bdafcf58f8846cf3b2711863f24f93680
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
drivers/media/video/tegra/ov5650.c

index 2c6fb10d303b32b9aed153785ae98d7749b1d4a5..005e31b7b63a1a305d15fef243558b98166be480 100755 (executable)
@@ -178,7 +178,7 @@ static struct ov5650_reg mode_2592x1944[] = {
        {0x4801, 0x0f}, /* MIPI control01 pg 125 */
        {0x300e, 0x0c}, /* SC_MIPI_SC_CTRL0 pg 73 */
        {0x4803, 0x50}, /* MIPI CTRL3 pg 91 */
-       {0x4800, 0x14}, /* MIPI CTRl0 idle and short line pg 89 */
+       {0x4800, 0x34}, /* MIPI CTRl0 idle and short line pg 89 */
        {OV5650_TABLE_END, 0x0000}
 };
 
@@ -231,7 +231,7 @@ static struct ov5650_reg mode_1296x972[] = {
        {0x4801, 0x0f}, /* MIPI control01 pg 125 */
        {0x300e, 0x0c}, /* SC_MIPI_SC_CTRL0 pg 73 */
        {0x4803, 0x50}, /* MIPI CTRL3 pg 91 */
-       {0x4800, 0x04}, /* MIPI CTRl0 idle and short line pg 89 */
+       {0x4800, 0x34}, /* MIPI CTRl0 idle and short line pg 89 */
        {OV5650_TABLE_END, 0x0000}
 };
 
@@ -285,7 +285,7 @@ static struct ov5650_reg mode_1920x1088[] = {
        {0x4801, 0x0f}, /* MIPI control01 pg 125 */
        {0x300e, 0x0c}, /* SC_MIPI_SC_CTRL0 pg 73 */
        {0x4803, 0x50}, /* MIPI CTRL3 pg 91 */
-       {0x4800, 0x14}, /* MIPI CTRl0 idle and short line pg 89 */
+       {0x4800, 0x34}, /* MIPI CTRl0 idle and short line pg 89 */
        {OV5650_TABLE_END, 0x0000}
 };