]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/boards/mach-migor/setup.c
Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds
[linux-2.6-omap-h63xx.git] / arch / sh / boards / mach-migor / setup.c
index 94fbdc375bcab1e1a84a4bf330a82a9249688eae..97528198029997ba34f814b35d8aa7f63cbf8f22 100644 (file)
@@ -288,8 +288,11 @@ static struct clk *camera_clk;
 
 static void camera_power_on(void)
 {
+       /* Use 10 MHz VIO_CKO instead of 24 MHz to work
+        * around signal quality issues on Panel Board V2.1.
+        */
        camera_clk = clk_get(NULL, "video_clk");
-       clk_set_rate(camera_clk, 24000000);
+       clk_set_rate(camera_clk, 10000000);
        clk_enable(camera_clk); /* start VIO_CKO */
 
        /* use VIO_RST to take camera out of reset */
@@ -318,7 +321,7 @@ static void camera_power(int mode)
 #ifdef CONFIG_I2C
 static unsigned char camera_ov772x_magic[] =
 {
-       0x09, 0x01, 0x0c, 0x10, 0x0d, 0x41, 0x0e, 0x01,
+       0x09, 0x01, 0x0c, 0x20, 0x0d, 0x41, 0x0e, 0x01,
        0x12, 0x00, 0x13, 0x8F, 0x14, 0x4A, 0x15, 0x00,
        0x16, 0x00, 0x17, 0x23, 0x18, 0xa0, 0x19, 0x07,
        0x1a, 0xf0, 0x1b, 0x40, 0x1f, 0x00, 0x20, 0x10,