Message ID | 3ca13d320908121621u725d7c7bl8d22d571bbfb1996@mail.gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Steve Gotthardt <gotthardt@gmail.com> writes: > +/* FIXME: Should be replaced by a proper mt9m111 driver */ There is one, but only in camera SoC framework. I think Hans and Guennadi are currently working so that sensor drivers become available as v4l2 subdevices, hence usable by every over host. > + case 0x143A: /* MT9M111 as found in the ECS G200 */ > + dev->model = EM2750_BOARD_UNKNOWN; > + em28xx_set_model(dev); > + > + sensor_name = "mt9m111"; > + dev->board.xclk = EM28XX_XCLK_FREQUENCY_48MHZ; > + dev->em28xx_sensor = EM28XX_MT9M111; > + em28xx_initialize_mt9m111(dev); > + dev->sensor_xres = 640; > + dev->sensor_yres = 512; From memory, I can take pictures of resolution 1280x1024 with my mt9m111 chip. Is the 640x512 a special constraint ? Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -r d2843f5f8fde linux/drivers/media/video/em28xx/em28xx.h --- a/linux/drivers/media/video/em28xx/em28xx.h Tue Aug 11 13:58:54 2009 -0300 +++ b/linux/drivers/media/video/em28xx/em28xx.h Wed Aug 12 15:32:41 2009 -0700 @@ -363,16 +363,17 @@ enum em28xx_decoder { EM28XX_TVP5150, EM28XX_SAA711X, }; enum em28xx_sensor { EM28XX_NOSENSOR = 0, EM28XX_MT9V011, EM28XX_MT9M001, + EM28XX_MT9M111, }; enum em28xx_adecoder { EM28XX_NOADECODER = 0, EM28XX_TVAUDIO, }; struct em28xx_board {