]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: Update ov9640 ifparm for H4 board.
authorTrilok Soni <soni.trilok@gmail.com>
Thu, 6 Sep 2007 12:36:41 +0000 (18:06 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 17 Sep 2007 18:31:59 +0000 (11:31 -0700)
--
--Trilok Soni

From c2f1169a933107c9f6ccfb47c7cc35f1e904821c Mon Sep 17 00:00:00 2001
From: Trilok Soni <soni.trilok@gmail.com>
Date: Thu, 6 Sep 2007 23:33:23 +0530
Subject: [PATCH] OMAP: Update ov9640 ifparm for H4 board.

- Update ov9640 ifparm due to change in naming
  for parallel interface and added clock_min/max
  for ov9640.

Signed-off-by: Trilok Soni <soni.trilok@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-h4.c

index 2561174ef42cb1e6adc55c5abbac59fa14155681..fc30021c0a324b9bca194176a3f7fdc3f4922182 100644 (file)
@@ -625,12 +625,14 @@ static int ov9640_sensor_power_set(int power)
 }
 
 static struct v4l2_ifparm ifparm = {
-       .if_type = V4L2_IF_TYPE_PARALLEL,
+       .if_type = V4L2_IF_TYPE_BT656,
        .u = {
-               .parallel = {
+               .bt656 = {
                         .frame_start_on_rising_vs = 1,
                         .nobt_vs_inv = 1,
-                        .mode = V4L2_IF_TYPE_PARALLEL_MODE_NOBT_8BIT,
+                        .mode = V4L2_IF_TYPE_BT656_MODE_NOBT_8BIT,
+                        .clock_min = OV9640_XCLK_MIN,
+                        .clock_max = OV9640_XCLK_MAX,
                 },
        },
 };