diff options
author | Pritesh Raithatha <praithatha@nvidia.com> | 2011-04-07 18:02:10 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-04-14 21:24:21 -0700 |
commit | 53e48c3449b00dd2b052d09a88a818cd90c24ab7 (patch) | |
tree | 0467b23f7f64509bb89513ca2d93c0fc4036dc0e /include | |
parent | 687b35f2d8b2709dc3f6efc7a0079a52de96b790 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/ov5650.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/ov5650.h b/include/media/ov5650.h index db0f18cc37f5..526d3502b8f1 100644 --- a/include/media/ov5650.h +++ b/include/media/ov5650.h @@ -19,6 +19,7 @@ #define OV5650_IOCTL_SET_GAIN _IOW('o', 4, __u16) #define OV5650_IOCTL_GET_STATUS _IOR('o', 5, __u8) #define OV5650_IOCTL_TEST_PATTERN _IOW('o', 7, enum ov5650_test_pattern) +#define OV5650_IOCTL_SET_CAMERA_MODE _IOW('o', 10, __u32) enum ov5650_test_pattern { TEST_PATTERN_NONE, |