From: Andrei Warkentin Date: Sat, 2 Oct 2010 01:27:16 +0000 (-0500) Subject: media: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor X-Git-Tag: firefly_0821_release~9834^2~473 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b4358144ffb815c553c10a8a070efbe335db799d;p=firefly-linux-kernel-4.4.55.git media: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor 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 --- diff --git a/drivers/media/video/tegra/ov5650.c b/drivers/media/video/tegra/ov5650.c index 2c6fb10d303b..005e31b7b63a 100755 --- a/drivers/media/video/tegra/ov5650.c +++ b/drivers/media/video/tegra/ov5650.c @@ -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} };