summaryrefslogtreecommitdiffstats
path: root/include/media/mmp-camera.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2011-06-11 19:46:49 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 22:53:01 +0200
commit67a8dbbc4e04cd256987b189352472a59aff73be (patch)
tree767486631bf85293111a634737dfabb954f98950 /include/media/mmp-camera.h
parent[media] marvell-cam: Allocate the i2c adapter in the platform driver (diff)
downloadlinux-67a8dbbc4e04cd256987b189352472a59aff73be.tar.xz
linux-67a8dbbc4e04cd256987b189352472a59aff73be.zip
[media] marvell-cam: Basic working MMP camera driver
Now we have a camera working over the marvell cam controller core. It works like the cafe driver and has all the same limitations, contiguous DMA only being one of them. But it's a start. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/mmp-camera.h')
-rw-r--r--include/media/mmp-camera.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/media/mmp-camera.h b/include/media/mmp-camera.h
new file mode 100644
index 000000000000..7611963a257f
--- /dev/null
+++ b/include/media/mmp-camera.h
@@ -0,0 +1,9 @@
+/*
+ * Information for the Marvell Armada MMP camera
+ */
+
+struct mmp_camera_platform_data {
+ struct platform_device *i2c_device;
+ int sensor_power_gpio;
+ int sensor_reset_gpio;
+};