diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-07-06 04:14:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 15:42:52 -0400 |
commit | 1676e4ab55944d483695f51e46b1e629af59706e (patch) | |
tree | 1dfab3c5b23f6a3a5171f204f75d59601c0f9f18 /drivers | |
parent | ef35d34fea38c52a595c30424d332a9dddd2200d (diff) |
V4L/DVB: gspca - sq930x: Add some comments for sensor mt9v111
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/gspca/sq930x.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/media/video/gspca/sq930x.c b/drivers/media/video/gspca/sq930x.c index 01954701d813..37cee5e063cf 100644 --- a/drivers/media/video/gspca/sq930x.c +++ b/drivers/media/video/gspca/sq930x.c | |||
@@ -299,24 +299,24 @@ static const struct i2c_write_cmd mi0360_start_4[] = { | |||
299 | }; | 299 | }; |
300 | 300 | ||
301 | static const struct i2c_write_cmd mt9v111_init_0[] = { | 301 | static const struct i2c_write_cmd mt9v111_init_0[] = { |
302 | {0x01, 0x0001}, | 302 | {0x01, 0x0001}, /* select IFP/SOC registers */ |
303 | {0x06, 0x300c}, | 303 | {0x06, 0x300c}, /* operating mode control */ |
304 | {0x08, 0xcc00}, | 304 | {0x08, 0xcc00}, /* output format control (RGB) */ |
305 | {0x01, 0x0004}, | 305 | {0x01, 0x0004}, /* select core registers */ |
306 | }; | 306 | }; |
307 | static const struct i2c_write_cmd mt9v111_init_1[] = { | 307 | static const struct i2c_write_cmd mt9v111_init_1[] = { |
308 | {0x03, 0x01e5}, | 308 | {0x03, 0x01e5}, /* window height */ |
309 | {0x04, 0x0285}, | 309 | {0x04, 0x0285}, /* window width */ |
310 | }; | 310 | }; |
311 | static const struct i2c_write_cmd mt9v111_init_2[] = { | 311 | static const struct i2c_write_cmd mt9v111_init_2[] = { |
312 | {0x30, 0x7800}, | 312 | {0x30, 0x7800}, |
313 | {0x31, 0x0000}, | 313 | {0x31, 0x0000}, |
314 | {0x07, 0x3002}, | 314 | {0x07, 0x3002}, /* output control */ |
315 | {0x35, 0x0020}, | 315 | {0x35, 0x0020}, /* global gain */ |
316 | {0x2b, 0x0020}, | 316 | {0x2b, 0x0020}, /* green1 gain */ |
317 | {0x2c, 0x0020}, | 317 | {0x2c, 0x0020}, /* blue gain */ |
318 | {0x2d, 0x0020}, | 318 | {0x2d, 0x0020}, /* red gain */ |
319 | {0x2e, 0x0020}, | 319 | {0x2e, 0x0020}, /* green2 gain */ |
320 | }; | 320 | }; |
321 | static const struct ucbus_write_cmd mt9v111_start_1[] = { | 321 | static const struct ucbus_write_cmd mt9v111_start_1[] = { |
322 | {0xf5f0, 0x11}, {0xf5f1, 0x96}, {0xf5f2, 0x80}, {0xf5f3, 0x80}, | 322 | {0xf5f0, 0x11}, {0xf5f1, 0x96}, {0xf5f2, 0x80}, {0xf5f3, 0x80}, |
@@ -330,7 +330,7 @@ static const struct i2c_write_cmd mt9v111_init_3[] = { | |||
330 | {0x62, 0x0405}, | 330 | {0x62, 0x0405}, |
331 | }; | 331 | }; |
332 | static const struct i2c_write_cmd mt9v111_init_4[] = { | 332 | static const struct i2c_write_cmd mt9v111_init_4[] = { |
333 | {0x05, 0x00ce}, | 333 | {0x05, 0x00ce}, /* horizontal blanking */ |
334 | }; | 334 | }; |
335 | 335 | ||
336 | static const struct ucbus_write_cmd ov7660_start_0[] = { | 336 | static const struct ucbus_write_cmd ov7660_start_0[] = { |