ov8830: adjust ov8830_mode_1600 PLL settings from 24 MHz to 19.2 MHz
authorTuukka Toivonen <tuukka.toivonen@intel.com>
Thu, 23 Feb 2012 09:36:54 +0000 (11:36 +0200)
committerbuildbot <buildbot@intel.com>
Mon, 12 Mar 2012 10:17:23 +0000 (03:17 -0700)
BZ: 25738

Change-Id: I3e67c027e8d34f0473cc49ed9c67f2da6470edbb
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/37225
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/ov8830.c

index 21c613b..15a1083 100644 (file)
@@ -346,17 +346,18 @@ static const struct ov8830_reg ov8830_mode_1600[] = {
        { OV8830_8BIT, { 0x3081 }, 0x02 },
        { OV8830_8BIT, { 0x3083 }, 0x01 },
        { OV8830_8BIT, { 0x3090 }, 0x02 },      /* PLL2_prediv */
-       { OV8830_8BIT, { 0x3091 }, 0x12 },      /* PLL2_multiplier */
+       { OV8830_8BIT, { 0x3091 }, 22   },      /* PLL2_multiplier */
        { OV8830_8BIT, { 0x3092 }, 0x00 },      /* PLL2_divs */
        { OV8830_8BIT, { 0x3093 }, 0x00 },      /* PLL2_seld5 */
        { OV8830_8BIT, { 0x3098 }, 0x03 },      /* PLL3_prediv */
-       { OV8830_8BIT, { 0x3099 }, 0x1E },      /* PLL3_mult2 */
+       { OV8830_8BIT, { 0x3099 }, 19   },      /* PLL3_mult2 */
        { OV8830_8BIT, { 0x309A }, 0x00 },      /* PLL3_divs */
        { OV8830_8BIT, { 0x309B }, 0x00 },      /* PLL3_div */
+       { OV8830_8BIT, { 0x309C }, 1    },      /* PLL3_div */
        { OV8830_8BIT, { 0x30A2 }, 0x01 },
        { OV8830_8BIT, { 0x30B0 }, 0x05 },
        { OV8830_8BIT, { 0x30B2 }, 0x00 },
-       { OV8830_8BIT, { 0x30B3 }, 0x4B },      /* PLL1_multiplier */
+       { OV8830_8BIT, { 0x30B3 }, 93   },      /* PLL1_multiplier */
        { OV8830_8BIT, { 0x30B4 }, 0x03 },      /* PLL1_prediv */
        { OV8830_8BIT, { 0x30B5 }, 0x04 },      /* PLL1_op_pix_div */
        { OV8830_8BIT, { 0x30B6 }, 0x01 },      /* PLL1_op_sys_div */