#include <media/v4l2-chip-ident.h>
#include <media/v4l2-int-device.h>
#include "mxc_v4l2_capture.h"
+#include "fsl_csi.h"
#define OV5640_VOLTAGE_ANALOG 2800000
#define OV5640_VOLTAGE_DIGITAL_CORE 1500000
if (plat_data->pwdn)
plat_data->pwdn(0);
+ if (cpu_is_mx6sl())
+ csi_enable_mclk(CSI_MCLK_I2C, true, true);
retval = ov5640_read_reg(OV5640_CHIP_ID_HIGH_BYTE, &chip_id_high);
if (retval < 0 || chip_id_high != 0x56) {
pr_warning("camera ov5640 is not found\n");
if (plat_data->pwdn)
plat_data->pwdn(1);
+ if (cpu_is_mx6sl())
+ csi_enable_mclk(CSI_MCLK_I2C, false, false);
+
camera_plat = plat_data;
ov5640_int_device.priv = &ov5640_data;