From dafdbaf7227dd64de434038af2cb47a3a6c0175d Mon Sep 17 00:00:00 2001 From: ddl Date: Wed, 16 May 2012 11:25:36 +0800 Subject: [PATCH] camera: add support ov3660, this driver is from haixing E170BS --- drivers/media/video/Kconfig | 11 +++++++++++ drivers/media/video/Makefile | 1 + include/media/v4l2-chip-ident.h | 1 + 3 files changed, 13 insertions(+) diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 6849392de87b..67c42bca47f6 100755 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig @@ -1013,6 +1013,17 @@ config OV3640_FIXEDFOCUS bool "OV3640 fixed focus" endchoice +config SOC_CAMERA_OV3660 + tristate "ov3660 camera support for rockchip" + depends on SOC_CAMERA && I2C + help + This is a ov3660 camera driver for rockchip + +config OV3660_USER_DEFINED_SERIES + depends on SOC_CAMERA_OV3660 + bool "OV3660 user defined init series" + default n + config SOC_CAMERA_OV5642 tristate "ov5642 camera support for rockchip" depends on SOC_CAMERA && I2C diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile index f2d11b6d83a2..46540d4a6542 100755 --- a/drivers/media/video/Makefile +++ b/drivers/media/video/Makefile @@ -96,6 +96,7 @@ obj-$(CONFIG_SOC_CAMERA_OV7690) += ov7690.o obj-$(CONFIG_SOC_CAMERA_OV9650) += ov9650.o obj-$(CONFIG_SOC_CAMERA_OV2640_RK) += ov2640_rk.o obj-$(CONFIG_SOC_CAMERA_OV3640) += ov3640.o +obj-$(CONFIG_SOC_CAMERA_OV3660) += ov3660.o obj-$(CONFIG_SOC_CAMERA_OV5640) += ov5640.o obj-$(CONFIG_SOC_CAMERA_OV5640_FOR_TD8801) += ov5640_for_td8801.o obj-$(CONFIG_SOC_CAMERA_OV5642) += ov5642.o diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 2290d04c9783..f52d74d48be8 100755 --- a/include/media/v4l2-chip-ident.h +++ b/include/media/v4l2-chip-ident.h @@ -83,6 +83,7 @@ enum { V4L2_IDENT_OV6650 = 265, V4L2_IDENT_OV9740 = 266, V4L2_IDENT_OV7690 = 267, + V4L2_IDENT_OV3660 = 268, /* module saa7146: reserved range 300-309 */ V4L2_IDENT_SAA7146 = 300, -- 2.34.1