From: Trilok Soni Date: Thu, 6 Sep 2007 12:36:41 +0000 (+0530) Subject: OMAP: Update ov9640 ifparm for H4 board. X-Git-Tag: v2.6.23-omap1~63 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bfa6a3b87aaa6b3683c92c6fb9ca771ee254156c;p=linux-2.6-omap-h63xx.git OMAP: Update ov9640 ifparm for H4 board. -- --Trilok Soni From c2f1169a933107c9f6ccfb47c7cc35f1e904821c Mon Sep 17 00:00:00 2001 From: Trilok Soni 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 2561174ef42..fc30021c0a3 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -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, }, }, };