On Tuesday 03 February 2009 23:06:24 Korvin wrote:
> On Wednesday 04 February 2009 01:58:33 Vasily Khoruzhick wrote:
> > Color issues should be fixed by Brian's patch (about making bridge to
> > start read from another line to get right bayer pattern)
>
> Could you please tell me where I can get that patch? :)
>
> > For AWC/AGC/Flips/Exposure we, probably, need datasheet on sensor
>
> You could download it here:
> http://www.deeptown.org/korvin/MT9M112.pdf
> or  here
> http://www.alldatasheet.com/datasheet-pdf/pdf/111283/MICRON/MT9M112.html
>
> If you need support or something similar I may help. Or even write a
> patch.. but I need some info on internal driver organisation. It would be
> better to contact online somehow.
>
> P. S: My jabber id is the same as email. Feel free to write/ask :)

Here's a patch, my jid is anarsoul at jabber dot org.

Regards
Vasily
From ec441ae13848791afc2b6e6819d1f9c62cf0d562 Mon Sep 17 00:00:00 2001
From: Brian Johnson <[email protected]>
Date: Mon, 12 Jan 2009 20:49:18 -0500
Subject: [PATCH] Start mt9m111 sensor readout 1 row later

Signed-off-by: Brian Johnson <[email protected]>
---
 micron.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/micron.c b/micron.c
index d9394bb..fc7baf3 100644
--- a/micron.c
+++ b/micron.c
@@ -300,11 +300,11 @@ struct sn9c20x_i2c_regs mt9m111_init[] = {
 	/* The following set the resoutiona and window size.
 	 * It's a bit more than SXGA.
 	 * VSTART */
-	{0x01, 0x000e},
+	{0x01, 0x000f},
 	/* HSTART */
 	{0x02, 0x0014},
 	/* VSIZE */
-	{0x03, 0x03c4},
+	{0x03, 0x03c5},
 	/* HSIZE */
 	{0x04, 0x0514},
 	/* Blanking */
@@ -326,6 +326,7 @@ struct sn9c20x_i2c_regs mt9m111_init[] = {
 	{0x2d, 0x0188},
 	/* Green 2 gain */
 	{0x2e, 0x0188},
+	{0x0d, 0x0008},
 	/* Blanking (again?) */
 	{0x0a, 0x0001},
 	{0x06, 0x0029},
-- 
1.5.6.3

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to