summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2008-10-24 20:43:07 +0200
committerKuninori Morimoto <morimoto.kuninori@renesas.com>2008-10-24 20:43:07 +0200
commit38c41e5befb62d52342e5d837beb2f5ab2b8e21e (patch)
treed7dcd203688772941f31adb20f59fa80622dd5dd /linux/include/media
parent2919f67f6614355388ad72644b0a305ec1c86234 (diff)
downloadmediapointer-dvb-s2-38c41e5befb62d52342e5d837beb2f5ab2b8e21e.tar.gz
mediapointer-dvb-s2-38c41e5befb62d52342e5d837beb2f5ab2b8e21e.tar.bz2
Add ov772x driver
This patch adds ov772x driver that use soc_camera framework. It was tested on SH Migo-r board. Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- Patch v7 -> v8 fix SWAP_MASK mistake remove empty lines. drivers/media/video/Kconfig | 6 + drivers/media/video/Makefile | 1 + drivers/media/video/ov772x.c | 966 +++++++++++++++++++++++++++++++++++++++ include/media/ov772x.h | 21 + include/media/v4l2-chip-ident.h | 1 + 5 files changed, 995 insertions(+), 0 deletions(-) create mode 100644 drivers/media/video/ov772x.c create mode 100644 include/media/ov772x.h
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/ov772x.h21
-rw-r--r--linux/include/media/v4l2-chip-ident.h1
2 files changed, 22 insertions, 0 deletions
diff --git a/linux/include/media/ov772x.h b/linux/include/media/ov772x.h
new file mode 100644
index 000000000..e391d55ed
--- /dev/null
+++ b/linux/include/media/ov772x.h
@@ -0,0 +1,21 @@
+/* ov772x Camera
+ *
+ * Copyright (C) 2008 Renesas Solutions Corp.
+ * Kuninori Morimoto <morimoto.kuninori@renesas.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __OV772X_H__
+#define __OV772X_H__
+
+#include <media/soc_camera.h>
+
+struct ov772x_camera_info {
+ unsigned long buswidth;
+ struct soc_camera_link link;
+};
+
+#endif /* __OV772X_H__ */
diff --git a/linux/include/media/v4l2-chip-ident.h b/linux/include/media/v4l2-chip-ident.h
index d73a8e902..bfe5142e6 100644
--- a/linux/include/media/v4l2-chip-ident.h
+++ b/linux/include/media/v4l2-chip-ident.h
@@ -60,6 +60,7 @@ enum {
/* OmniVision sensors: reserved range 250-299 */
V4L2_IDENT_OV7670 = 250,
+ V4L2_IDENT_OV772X = 251,
/* Conexant MPEG encoder/decoders: reserved range 410-420 */
V4L2_IDENT_CX23415 = 415,