diff options
author | Pritesh Raithatha <praithatha@nvidia.com> | 2011-04-07 18:02:10 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:42:54 -0800 |
commit | b2e17e149f26db3667c467f36b8493fb3400d856 (patch) | |
tree | 7a12444bd4f754f5ecf393bb6cf13b96e3712c78 /include/media | |
parent | 639574b90e350d80298c1edf540bb1e7c8a9cfd4 (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
Original-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>
Rebase-Id: Rf6847be1ff260ea91798a29fbd2ff6d7e26e1711
Diffstat (limited to 'include/media')
-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, |