We designed our customized board based on sabresdq platform, ported android 4.4.2. It has 5MP OV5640 Mipi auto focus camera. According to our baord layout we had changed setprop back_camera_orient 270 in init.rc file. We are able to capture images. During preview image is stretched , however captured image is not stretched.
Please find the images,driver attached.
Original Attachment has been moved to: ov5640_mipi.c.zip