summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWu Guoxing <b39297@freescale.com>2012-05-21 09:24:29 +0800
committerWu Guoxing <b39297@freescale.com>2012-05-21 14:24:43 +0800
commitd2b9c28ea098a87aea12c298eff4b85bdbf872e2 (patch)
tree755e10a82c298ebce5595bf89639b2241c3990e1 /include
parent7e73cd6e0008528b711d6b58c73397d19280c20f (diff)
ENGR00209062-2: mx6dq and mx6dl dual camera support
dual camera support for mx6q and mx6dl: 1. let mipi and parallel camera working on different csi 2. the two camera can work independently and synchronously 3. the two camera will be registered and different video device(/dev/video0, /dev/video1) 4. when both camera are working, the can not use the same ipu channel, that is, when camera one using PRP_ENC_MEM or PRP_VF_MEM channel, the other one can only use CSI_MEM this is the driver part. Signed-off-by: Wu Guoxing <b39297@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index b476173e21a4..5437d3a4719e 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -287,12 +287,21 @@ struct fsl_mxc_hdmi_core_platform_data {
int disp_id;
};
+struct fsl_mxc_capture_platform_data {
+ int csi;
+ int ipu;
+ u8 mclk_source;
+ u8 is_mipi;
+};
+
+
struct fsl_mxc_camera_platform_data {
char *core_regulator;
char *io_regulator;
char *analog_regulator;
char *gpo_regulator;
u32 mclk;
+ u8 mclk_source;
u32 csi;
void (*pwdn)(int pwdn);
void (*io_init)(void);