summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWu Guoxing <b39297@freescale.com>2012-05-21 09:24:29 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:37:48 +0800
commit243302c429aa9c8f4961feb16b1c8197ae602f7b (patch)
treeee3007960d4140ab30db54d287b7ef4e14a91f45 /include
parent0ee00b963d29bc4bccbf4933e0003d05fde07900 (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);