media: video: tegra: ov5650: add stereo camera support
authorPritesh Raithatha <praithatha@nvidia.com>
Thu, 7 Apr 2011 12:32:10 +0000 (18:02 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Fri, 15 Apr 2011 04:24:21 +0000 (21:24 -0700)
commit53e48c3449b00dd2b052d09a88a818cd90c24ab7
tree0467b23f7f64509bb89513ca2d93c0fc4036dc0e
parent687b35f2d8b2709dc3f6efc7a0079a52de96b790
media: video: tegra: ov5650: add stereo camera support

-Removed unused sensor mode mode_1920x1088
-Added ov5650_write_reg_helper function to do write_reg()
 according to camera_mode.
-ov5650_get_status function is removed as it is reading reg 2
 value and there is not any definition of reg 2 in datasheet and
 even user space is not using it's value at all.
-Added ov5650_set_power function to on/off camera sensors power
 according to camera_mode.
-Added ioctl OV5650_IOCTL_SET_CAMERA_MODE to set camera_mode
 from user space.
-Added i2c driver for right ov5650.

Bug 809921

Change-Id: Ib3cf43d0a064c18c218d0850e849fff84e18e661
Reviewed-on: http://git-master/r/26857
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: George Bauernschmidt <georgeb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/media/video/tegra/ov5650.c
include/media/ov5650.h