BeagleBoard xM Camera Interface

Hello All,

I'm trying to interface a custom 14-bit greyscale camera to the
BeagleBoard xM's camera port. Using the mt9t112 driver as a starting
point, I've written a driver for the camera, which slaves to the
omap34xxcam master driver.

My problem is, the video I get out of it is out of sync (video frame
is offset in the output window, and bounces around the screen), and in
the wrong format (specifying V4L2_PIX_FMT_Y16 as the input format gets
rejected by the subsystem, so I have to specify something like
V4L2_PIX_FMT_YUYV instead to get the driver to initialize successfully
at all). While changing parameters in my isp_interface_config
structure in board-omap3beagle-camera.c can sometimes affect the
output, for most of the parameters, I don't see any changes at all.

So I guess my question is: am I barking up the wrong tree here? Is
this even possible to do without making changes to the isp/omap34xxcam
drivers? Also, any suggestions? I don't mind doing post-processing to
change the pixel formats, etc., but I at least need to resolve the
syncing problem.

I am viewing the video using mplayer ($ mplayer fbdev tv://), and
capturing it to disk using the V4L2 sample capture program (http://
v4l2spec.bytesex.org/spec/capture-example.html).

Thanks for any help,
-mbs