Lines Matching +full:0 +full:x1200
27 0xb8 >> 1, /* MT9V111, MT9V403 */
28 0xba >> 1, /* MT9M001/011/111/112, MT9V011/012/112, MT9D011 */
29 0x90 >> 1, /* MT9V012/112, MT9D011 (alternative address) */
35 0x42 >> 1, /* OV7725, OV7670/60/48 */
36 0x60 >> 1, /* OV2640, OV9650/53/55 */
45 { 0x0d, 0x00, 0x01, }, /* reset and use defaults */ in em28xx_initialize_mt9m111()
46 { 0x0d, 0x00, 0x00, }, in em28xx_initialize_mt9m111()
47 { 0x0a, 0x00, 0x21, }, in em28xx_initialize_mt9m111()
48 { 0x21, 0x04, 0x00, }, /* full readout spd, no row/col skip */ in em28xx_initialize_mt9m111()
51 for (i = 0; i < ARRAY_SIZE(regs); i++) in em28xx_initialize_mt9m111()
53 ®s[i][0], 3); in em28xx_initialize_mt9m111()
57 return 0; in em28xx_initialize_mt9m111()
65 { 0x0d, 0x00, 0x01, }, in em28xx_initialize_mt9m001()
66 { 0x0d, 0x00, 0x00, }, in em28xx_initialize_mt9m001()
67 { 0x04, 0x05, 0x00, }, /* hres = 1280 */ in em28xx_initialize_mt9m001()
68 { 0x03, 0x04, 0x00, }, /* vres = 1024 */ in em28xx_initialize_mt9m001()
69 { 0x20, 0x11, 0x00, }, in em28xx_initialize_mt9m001()
70 { 0x06, 0x00, 0x10, }, in em28xx_initialize_mt9m001()
71 { 0x2b, 0x00, 0x24, }, in em28xx_initialize_mt9m001()
72 { 0x2e, 0x00, 0x24, }, in em28xx_initialize_mt9m001()
73 { 0x35, 0x00, 0x24, }, in em28xx_initialize_mt9m001()
74 { 0x2d, 0x00, 0x20, }, in em28xx_initialize_mt9m001()
75 { 0x2c, 0x00, 0x20, }, in em28xx_initialize_mt9m001()
76 { 0x09, 0x0a, 0xd4, }, in em28xx_initialize_mt9m001()
77 { 0x35, 0x00, 0x57, }, in em28xx_initialize_mt9m001()
80 for (i = 0; i < ARRAY_SIZE(regs); i++) in em28xx_initialize_mt9m001()
82 ®s[i][0], 3); in em28xx_initialize_mt9m001()
86 return 0; in em28xx_initialize_mt9m001()
101 for (i = 0; micron_sensor_addrs[i] != I2C_CLIENT_END; i++) { in em28xx_probe_sensor_micron()
103 /* Read chip ID from register 0x00 */ in em28xx_probe_sensor_micron()
104 ret = i2c_smbus_read_word_data(client, 0x00); /* assumes LE */ in em28xx_probe_sensor_micron()
105 if (ret < 0) { in em28xx_probe_sensor_micron()
108 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_micron()
113 /* Read chip ID from register 0xff */ in em28xx_probe_sensor_micron()
114 ret = i2c_smbus_read_word_data(client, 0xff); in em28xx_probe_sensor_micron()
115 if (ret < 0) { in em28xx_probe_sensor_micron()
117 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_micron()
126 case 0x1222: in em28xx_probe_sensor_micron()
129 case 0x1229: in em28xx_probe_sensor_micron()
132 case 0x1433: in em28xx_probe_sensor_micron()
135 case 0x143a: /* found in the ECS G200 */ in em28xx_probe_sensor_micron()
139 case 0x148c: in em28xx_probe_sensor_micron()
142 case 0x1511: in em28xx_probe_sensor_micron()
143 name = "MT9D011"; /* MI2010 */ /* 1600x1200 */ in em28xx_probe_sensor_micron()
145 case 0x8232: in em28xx_probe_sensor_micron()
146 case 0x8243: /* rev B */ in em28xx_probe_sensor_micron()
150 case 0x8431: in em28xx_probe_sensor_micron()
156 "unknown Micron sensor detected: 0x%04x\n", in em28xx_probe_sensor_micron()
158 return 0; in em28xx_probe_sensor_micron()
168 return 0; in em28xx_probe_sensor_micron()
190 for (i = 0; omnivision_sensor_addrs[i] != I2C_CLIENT_END; i++) { in em28xx_probe_sensor_omnivision()
192 /* Read manufacturer ID from registers 0x1c-0x1d (BE) */ in em28xx_probe_sensor_omnivision()
193 reg = 0x1c; in em28xx_probe_sensor_omnivision()
195 if (ret < 0) { in em28xx_probe_sensor_omnivision()
198 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
203 reg = 0x1d; in em28xx_probe_sensor_omnivision()
205 if (ret < 0) { in em28xx_probe_sensor_omnivision()
207 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
213 if (id != 0x7fa2) in em28xx_probe_sensor_omnivision()
215 /* Read product ID from registers 0x0a-0x0b (BE) */ in em28xx_probe_sensor_omnivision()
216 reg = 0x0a; in em28xx_probe_sensor_omnivision()
218 if (ret < 0) { in em28xx_probe_sensor_omnivision()
220 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
225 reg = 0x0b; in em28xx_probe_sensor_omnivision()
227 if (ret < 0) { in em28xx_probe_sensor_omnivision()
229 "couldn't read from i2c device 0x%02x: error %i\n", in em28xx_probe_sensor_omnivision()
236 case 0x2642: in em28xx_probe_sensor_omnivision()
240 case 0x7648: in em28xx_probe_sensor_omnivision()
243 case 0x7660: in em28xx_probe_sensor_omnivision()
246 case 0x7673: in em28xx_probe_sensor_omnivision()
249 case 0x7720: in em28xx_probe_sensor_omnivision()
252 case 0x7721: in em28xx_probe_sensor_omnivision()
255 case 0x9648: /* Rev 2 */ in em28xx_probe_sensor_omnivision()
256 case 0x9649: /* Rev 3 */ in em28xx_probe_sensor_omnivision()
259 case 0x9650: in em28xx_probe_sensor_omnivision()
260 case 0x9652: /* OV9653 */ in em28xx_probe_sensor_omnivision()
263 case 0x9656: /* Rev 4 */ in em28xx_probe_sensor_omnivision()
264 case 0x9657: /* Rev 5 */ in em28xx_probe_sensor_omnivision()
269 "unknown OmniVision sensor detected: 0x%04x\n", in em28xx_probe_sensor_omnivision()
271 return 0; in em28xx_probe_sensor_omnivision()
281 return 0; in em28xx_probe_sensor_omnivision()
293 if (dev->em28xx_sensor == EM28XX_NOSENSOR && ret < 0) in em28xx_detect_sensor()
298 * 0x22 (Samsung ?) and 0x66 (Kodak ?) in em28xx_detect_sensor()
301 if (dev->em28xx_sensor == EM28XX_NOSENSOR && ret < 0) { in em28xx_detect_sensor()
307 return 0; in em28xx_detect_sensor()
347 v4l2->vinctl = 0x00; in em28xx_init_camera()
358 v4l2->vinctl = 0x00; in em28xx_init_camera()
370 v4l2->vinctl = 0x00; in em28xx_init_camera()
386 * FIXME: sensor supports resolutions up to 1600x1200, but in em28xx_init_camera()
407 /* NOTE: for UXGA=1600x1200 switch to 12MHz */ in em28xx_init_camera()
411 v4l2->vinctl = 0x00; in em28xx_init_camera()
420 return 0; in em28xx_init_camera()