From 243302c429aa9c8f4961feb16b1c8197ae602f7b Mon Sep 17 00:00:00 2001 From: Wu Guoxing Date: Mon, 21 May 2012 09:24:29 +0800 Subject: 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 --- include/linux/fsl_devices.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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); -- cgit v1.2.3