Message ID | CA7B7D6C54015B459601D68441548157C5A403@prevas1.prevas.se (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Hi Daniel, On Wednesday 01 June 2011 10:49:43 Daniel Lundborg wrote: > > On Tuesday 31 May 2011 12:07:08 Daniel Lundborg wrote: > > > > [snip] > > > > > > Any chance you will submit the driver for inclusion in the kernel? > > > Yes if there is an interest in it. I can create a patch from your > > > omap3isp-next-sensors tree if you want. > > > > That would be nice, thank you. > > Here's the patch: [snip] The patch is corrupted as your mailer wraps lines. Could you please fix that, or send it as an attachement ? Please also include a commit message with your SoB line.
Hello again, > Hi Daniel, > > On Wednesday 01 June 2011 10:49:43 Daniel Lundborg wrote: > > > On Tuesday 31 May 2011 12:07:08 Daniel Lundborg wrote: > > > > > > [snip] > > > > > > > > Any chance you will submit the driver for inclusion in the kernel? > > > > Yes if there is an interest in it. I can create a patch from your > > > > omap3isp-next-sensors tree if you want. > > > > > > That would be nice, thank you. > > > > Here's the patch: > > [snip] > > The patch is corrupted as your mailer wraps lines. Could you please fix that, > or send it as an attachement ? I will add it as an attachment to this email. > > Please also include a commit message with your SoB line. > > -- > Regards, > > Laurent Pinchart I'm not sure how to add a commit message to the patch. Regards, Daniel Lundborg
Hi Jonathan, if you change the mt9v034_set_chip_control in mt9v034_configure to.. ret = mt9v034_set_chip_control(mt9v034, MT9V034_CHIP_CONTROL_RESERVED, 0); // Clear bit 9 for normal operation ..it will start streaming as you startup the driver. You could consider clearing all bits in mt9v034_configure and in mt9v034_s_stream you set the correct bits for streaming. Look at Laurents mt9v032 driver code. Regards, Daniel On Thu, 2011-07-07 at 17:19 +0100, Jonathan Cameron wrote: > Hi Daniel, > > Thanks for the driver. Couple of quick queries. What do I need > for streaming mode (and does this work well for you?) > > If I can get this working, I'm happy to pick up the job of patch > cleanup for you as a thank you. > > Jonathan > > Hello again, > > > >> Hi Daniel, > >> > >> On Wednesday 01 June 2011 10:49:43 Daniel Lundborg wrote: > >>>> On Tuesday 31 May 2011 12:07:08 Daniel Lundborg wrote: > >>>> > >>>> [snip] > >>>> > >>>>>> Any chance you will submit the driver for inclusion in the > > kernel? > >>>>> Yes if there is an interest in it. I can create a patch from > > your > >>>>> omap3isp-next-sensors tree if you want. > >>>> > >>>> That would be nice, thank you. > >>> > >>> Here's the patch: > >> > >> [snip] > >> > >> The patch is corrupted as your mailer wraps lines. Could you please > > fix that, > >> or send it as an attachement ? > > > > I will add it as an attachment to this email. > > > >> > >> Please also include a commit message with your SoB line. > >> > >> -- > >> Regards, > >> > >> Laurent Pinchart > > > > I'm not sure how to add a commit message to the patch. > > > > > > Regards, > > > > Daniel Lundborg > -- 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 -urNp a/include/media/mt9v034.h b/include/media/mt9v034.h --- a/include/media/mt9v034.h 1970-01-01 01:00:00.000000000 +0100 +++ b/include/media/mt9v034.h 2011-05-30 15:04:44.000000000 +0200 @@ -0,0 +1,15 @@ +#ifndef _MEDIA_MT9V034_H +#define _MEDIA_MT9V034_H + +struct v4l2_subdev; + +struct mt9v034_platform_data { + unsigned int clk_pol:1; + + void (*set_clock)(struct v4l2_subdev *subdev, unsigned int rate); + void (*configure)(struct v4l2_subdev *subdev); + void (*take_picture)(struct v4l2_subdev *subdev, int nr_pics, int exposure_time_ms); + void (*reset)(void); +}; +