summaryrefslogtreecommitdiffstats
path: root/include/media/ov7670.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2011-06-11 17:46:42 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:00 -0300
commitf8fc729870ee82662ae6e3a713d59b2fbf3b04c6 (patch)
tree84c00d006269c28e0799a2ca6c2823b81cb1e3d2 /include/media/ov7670.h
parentbd7319dc325ac327ddb3777564361bd4186ecdb6 (diff)
downloadtalos-obmc-linux-f8fc729870ee82662ae6e3a713d59b2fbf3b04c6.tar.gz
talos-obmc-linux-f8fc729870ee82662ae6e3a713d59b2fbf3b04c6.zip
[media] marvell-cam: Move cafe-ccic into its own directory
This driver will soon become a family of drivers, so let's give it its own place to live. This move requires putting ov7670.h into include/media, but there are no code changes. Cc: Daniel Drake <dsd@laptop.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/ov7670.h')
-rw-r--r--include/media/ov7670.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/media/ov7670.h b/include/media/ov7670.h
new file mode 100644
index 000000000000..b133bc123031
--- /dev/null
+++ b/include/media/ov7670.h
@@ -0,0 +1,20 @@
+/*
+ * A V4L2 driver for OmniVision OV7670 cameras.
+ *
+ * Copyright 2010 One Laptop Per Child
+ *
+ * This file may be distributed under the terms of the GNU General
+ * Public License, version 2.
+ */
+
+#ifndef __OV7670_H
+#define __OV7670_H
+
+struct ov7670_config {
+ int min_width; /* Filter out smaller sizes */
+ int min_height; /* Filter out smaller sizes */
+ int clock_speed; /* External clock speed (MHz) */
+ bool use_smbus; /* Use smbus I/O instead of I2C */
+};
+
+#endif
OpenPOWER on IntegriCloud