camera: add support gc0308 sensor driver

This commit is contained in:
ddl
2011-04-27 14:42:47 +08:00
parent bd060f1a21
commit 7a0dfe623f
5 changed files with 2971 additions and 1 deletions

View File

@@ -43,6 +43,7 @@
#define RK29_CAM_SENSOR_MT9D113 mt9d113
#define RK29_CAM_SENSOR_MT9P111 mt9p111
#define RK29_CAM_SENSOR_GT2005 gt2005
#define RK29_CAM_SENSOR_GC0308 gc0308
#define RK29_CAM_SENSOR_NAME_OV9650 "ov9650"
#define RK29_CAM_SENSOR_NAME_OV2655 "ov2655"
@@ -55,6 +56,7 @@
#define RK29_CAM_SENSOR_NAME_MT9D113 "mt9d113"
#define RK29_CAM_SENSOR_NAME_MT9P111 "mt9p111"
#define RK29_CAM_SENSOR_NAME_GT2005 "gt2005"
#define RK29_CAM_SENSOR_NAME_GC0308 "gc0308"
#define RK29_CAM_POWERACTIVE_BITPOS 0x00
#define RK29_CAM_POWERACTIVE_MASK (1<<RK29_CAM_POWERACTIVE_BITPOS)

View File

@@ -959,7 +959,11 @@ config SOC_CAMERA_GT2005
depends on SOC_CAMERA && I2C
help
This is a GT2005 camera driver
config SOC_CAMERA_GC0308
tristate "GC0308 support"
depends on SOC_CAMERA && I2C
help
This is a GC0308 camera driver
config MX1_VIDEO
bool

View File

@@ -91,6 +91,8 @@ obj-$(CONFIG_SOC_CAMERA_OV5640) += ov5640.o
obj-$(CONFIG_SOC_CAMERA_OV5642) += ov5642.o
obj-$(CONFIG_SOC_CAMERA_S5K6AA) += s5k6aa.o
obj-$(CONFIG_SOC_CAMERA_GT2005) += gt2005.o
obj-$(CONFIG_SOC_CAMERA_GC0308) += gc0308.o
# And now the v4l2 drivers:
obj-$(CONFIG_VIDEO_BT848) += bt8xx/

2961
drivers/media/video/gc0308.c Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -280,6 +280,7 @@ enum {
V4L2_IDENT_GT2005 = 64100, /* ddl@rock-chips.com : GT2005 support */
V4L2_IDENT_GC0308 = 64101, /* ddl@rock-chips.com : GC0308 support */
};
#endif