summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNathan Lord <nlord@nvidia.com>2011-02-15 21:28:19 -0800
committerVarun Colbert <vcolbert@nvidia.com>2011-02-16 14:28:10 -0800
commit3bfbe9286caacc4e2fdbf212aab8f30b6cab9c4a (patch)
tree8163aff88fbfc07a5d2079abe984b8989fe11018 /include
parentfbef790a66d87fc2a579c38f821652a11df0fcb9 (diff)
media: video: tegra: add ov5650 test pattern mode
Change-Id: Ie894d71f45cc08709daff3f258e0c4676b7778b0 Reviewed-on: http://git-master/r/19687 Reviewed-by: Nathan Lord <nlord@nvidia.com> Tested-by: Nathan Lord <nlord@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/ov5650.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/ov5650.h b/include/media/ov5650.h
index cc3ec7194526..db0f18cc37f5 100644
--- a/include/media/ov5650.h
+++ b/include/media/ov5650.h
@@ -18,6 +18,13 @@
#define OV5650_IOCTL_SET_COARSE_TIME _IOW('o', 3, __u32)
#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)
+
+enum ov5650_test_pattern {
+ TEST_PATTERN_NONE,
+ TEST_PATTERN_COLORBARS,
+ TEST_PATTERN_CHECKERBOARD
+};
struct ov5650_mode {
int xres;