summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWu Guoxing <b39297@freescale.com>2012-05-21 09:24:29 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:48:24 -0700
commite1956bf36ad3a7a1762318cdbc851cb30aa90acd (patch)
treebf0a48f63d48013090ad467eeade89733a505faa /include
parentfd0aa819ac1562221319ca32dc92a78b0e0b7b45 (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);