On Mon, Apr 30, 2012 at 5:27 PM, Jonathan Corbet <corbet@xxxxxxx> wrote: > On Mon, 30 Apr 2012 23:06:27 +0100 (BST) > Daniel Drake <dsd@xxxxxxxxxx> wrote: > >> For the ov7670 camera to return images at the requested frame rate, >> it needs to make calculations based on the clock speed, which is >> a completely external factor (depends on the wiring of the system). >> >> On the XO-1.5, which is the only known via-camera user, the camera >> is clocked at 90MHz. >> >> Pass this information to the ov7670 driver, to fix an issue where >> a framerate of 3x the requested amount was being provided. > > This is big-time weird...this problem has been solved before. The reason > ov7670 *has* a clock speed parameter is because the XO 1.5 - the second > user - clocked it so fast. I'm going to have to go digging through some > history to try to figure out where this fix went... > > Meanwhile, this looks fine. We solved it with ugly #ifdef things in the OLPC kernel. http://dev.laptop.org/ticket/10137 Then we found and discussed the upstreamable solution, put the ov7670_config thing in place, and solved it for XO-1 (cafe). But for whatever reason it looks like I forgot to fix via-camera -- maybe via-camera was still in flux and non-upstream at that time. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html