summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-05-14 08:36:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-05-14 08:36:50 -0300
commitf73d4223cf12d0d65a3bd9d6da0ff8807c86d064 (patch)
tree69f2f087b6053c218a8f5431f56aff437c8ee538 /linux/include
parent7e2fc0b0dd4648fcd4c2ca82093aebcfaed3e863 (diff)
parentbdef8c3d9a3ba2fab464529580ae8028d74e8aff (diff)
downloadmediapointer-dvb-s2-f73d4223cf12d0d65a3bd9d6da0ff8807c86d064.tar.gz
mediapointer-dvb-s2-f73d4223cf12d0d65a3bd9d6da0ff8807c86d064.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/k2c2
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/media/adv7343.h23
-rw-r--r--linux/include/media/soc_camera.h5
-rw-r--r--linux/include/media/v4l2-chip-ident.h6
3 files changed, 34 insertions, 0 deletions
diff --git a/linux/include/media/adv7343.h b/linux/include/media/adv7343.h
new file mode 100644
index 000000000..d6f8a4e1a
--- /dev/null
+++ b/linux/include/media/adv7343.h
@@ -0,0 +1,23 @@
+/*
+ * ADV7343 header file
+ *
+ * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation version 2.
+ *
+ * This program is distributed .as is. WITHOUT ANY WARRANTY of any
+ * kind, whether express or implied; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef ADV7343_H
+#define ADV7343_H
+
+#define ADV7343_COMPOSITE_ID (0)
+#define ADV7343_COMPONENT_ID (1)
+#define ADV7343_SVIDEO_ID (2)
+
+#endif /* End of #ifndef ADV7343_H */
diff --git a/linux/include/media/soc_camera.h b/linux/include/media/soc_camera.h
index bef5e81d6..23ecead35 100644
--- a/linux/include/media/soc_camera.h
+++ b/linux/include/media/soc_camera.h
@@ -92,11 +92,16 @@ struct soc_camera_host_ops {
#define SOCAM_SENSOR_INVERT_VSYNC (1 << 3)
#define SOCAM_SENSOR_INVERT_DATA (1 << 4)
+struct i2c_board_info;
+
struct soc_camera_link {
/* Camera bus id, used to match a camera and a bus */
int bus_id;
/* Per camera SOCAM_SENSOR_* bus flags */
unsigned long flags;
+ int i2c_adapter_id;
+ struct i2c_board_info *board_info;
+ const char *module_name;
/* Optional callbacks to power on or off and reset the sensor */
int (*power)(struct device *, int);
int (*reset)(struct device *);
diff --git a/linux/include/media/v4l2-chip-ident.h b/linux/include/media/v4l2-chip-ident.h
index 1be461a29..4d7e2272c 100644
--- a/linux/include/media/v4l2-chip-ident.h
+++ b/linux/include/media/v4l2-chip-ident.h
@@ -137,6 +137,12 @@ enum {
/* module saa7191: just ident 7191 */
V4L2_IDENT_SAA7191 = 7191,
+ /* module ths7303: just ident 7303 */
+ V4L2_IDENT_THS7303 = 7303,
+
+ /* module adv7343: just ident 7343 */
+ V4L2_IDENT_ADV7343 = 7343,
+
/* module wm8739: just ident 8739 */
V4L2_IDENT_WM8739 = 8739,