]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00180640 camera: enable dual camera configuration in menuconfig
authorYuxi Sun <b36102@freescale.com>
Tue, 24 Apr 2012 06:56:21 +0000 (14:56 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:29 +0000 (08:34 +0200)
enable dual camera configuration in menuconfig, and set ov5642 as
the first registered camera

Signed-off-by: Yuxi Sun <b36102@freescale.com>
drivers/media/video/mxc/capture/Kconfig
drivers/media/video/mxc/capture/Makefile

index d66c59d64f3559ce5aa6d570edff1e85a60c4ef7..eaebf2eb2f29d3df8a9b21bd38912398c43c20b7 100644 (file)
@@ -83,15 +83,6 @@ config MXC_CAMERA_OV5640
        ---help---
          If you plan to use the ov5640 Camera with your MXC system, say Y here.
 
-config MXC_CAMERA_OV5640_MIPI
-       tristate "OmniVision ov5640 camera support using mipi"
-       depends on !VIDEO_MXC_EMMA_CAMERA
-       depends on ARCH_MX6Q
-       select MXC_MIPI_CSI2 if ARCH_MX6Q
-       select MXC_CAMERA_SENSOR_CLK
-       ---help---
-         If you plan to use the ov5640 Camera with mipi interface in your MXC system, say Y here.
-
 config MXC_CAMERA_OV8820_MIPI
        tristate "OmniVision ov8820 camera support using mipi"
        depends on !VIDEO_MXC_EMMA_CAMERA
@@ -116,6 +107,15 @@ config MXC_TVIN_ADV7180
 
 endchoice
 
+config MXC_CAMERA_OV5640_MIPI
+       tristate "OmniVision ov5640 camera support using mipi"
+       depends on !VIDEO_MXC_EMMA_CAMERA
+       depends on ARCH_MX6Q
+       select MXC_MIPI_CSI2 if ARCH_MX6Q
+       select MXC_CAMERA_SENSOR_CLK
+       ---help---
+         If you plan to use the ov5640 Camera with mipi interface in your MXC system, say Y here.
+
 config MXC_CAMERA_SENSOR_CLK
        tristate "camera clock"
        depends on !VIDEO_MXC_EMMA_CAMERA
index 85bf84e4f964b8858ab9066102324ac7333f7eba..d2499239cd45332826fefe767d1f5a78b626be64 100644 (file)
@@ -37,6 +37,9 @@ obj-$(CONFIG_MXC_CAMERA_OV2640) += ov2640_camera.o
 ov3640_camera-objs := ov3640.o
 obj-$(CONFIG_MXC_CAMERA_OV3640) += ov3640_camera.o
 
+ov5642_camera-objs := ov5642.o
+obj-$(CONFIG_MXC_CAMERA_OV5642) += ov5642_camera.o
+
 ov5640_camera-objs := ov5640.o
 obj-$(CONFIG_MXC_CAMERA_OV5640) += ov5640_camera.o
 
@@ -46,8 +49,5 @@ obj-$(CONFIG_MXC_CAMERA_OV5640_MIPI) += ov5640_camera_mipi.o
 ov8820_camera_mipi-objs := ov8820_mipi.o
 obj-$(CONFIG_MXC_CAMERA_OV8820_MIPI) += ov8820_camera_mipi.o
 
-ov5642_camera-objs := ov5642.o
-obj-$(CONFIG_MXC_CAMERA_OV5642) += ov5642_camera.o
-
 adv7180_tvin-objs := adv7180.o
 obj-$(CONFIG_MXC_TVIN_ADV7180) += adv7180_tvin.o