public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP: Update ov9640 ifparm for H4 board.
@ 2007-09-06 12:36 Trilok Soni
  2007-09-17 18:32 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Trilok Soni @ 2007-09-06 12:36 UTC (permalink / raw)
  To: Linux OMAP; +Cc: Sakari Ailus

[-- Attachment #1: Type: text/plain, Size: 18 bytes --]

-- 
--Trilok Soni

[-- Attachment #2: 0001-OMAP-Update-ov9640-ifparm-for-H4-board.patch --]
[-- Type: text/x-patch, Size: 1130 bytes --]

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>
---
 arch/arm/mach-omap2/board-h4.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
index 2561174..fc30021 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,
 		 },
 	},
 };
-- 
1.5.3


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] OMAP: Update ov9640 ifparm for H4 board.
  2007-09-06 12:36 [PATCH] OMAP: Update ov9640 ifparm for H4 board Trilok Soni
@ 2007-09-17 18:32 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-09-17 18:32 UTC (permalink / raw)
  To: Trilok Soni; +Cc: Sakari Ailus, Linux OMAP

* Trilok Soni <soni.trilok@gmail.com> [070906 05:40]:
> -- 
> --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>
> ---
>  arch/arm/mach-omap2/board-h4.c |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
> index 2561174..fc30021 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,
>  		 },
>  	},
>  };

Pushing today.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-17 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 12:36 [PATCH] OMAP: Update ov9640 ifparm for H4 board Trilok Soni
2007-09-17 18:32 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox