camera: add support siv120b sensor driver

This commit is contained in:
ddl
2011-04-27 15:22:17 +08:00
parent 543b26c032
commit e65eceaf0d
5 changed files with 2746 additions and 1 deletions

View File

@@ -44,6 +44,7 @@
#define RK29_CAM_SENSOR_MT9P111 mt9p111
#define RK29_CAM_SENSOR_GT2005 gt2005
#define RK29_CAM_SENSOR_GC0308 gc0308
#define RK29_CAM_SENSOR_SIV120B siv120b
#define RK29_CAM_SENSOR_NAME_OV9650 "ov9650"
#define RK29_CAM_SENSOR_NAME_OV2655 "ov2655"
@@ -57,6 +58,7 @@
#define RK29_CAM_SENSOR_NAME_MT9P111 "mt9p111"
#define RK29_CAM_SENSOR_NAME_GT2005 "gt2005"
#define RK29_CAM_SENSOR_NAME_GC0308 "gc0308"
#define RK29_CAM_SENSOR_NAME_SIV120B "siv120b"
#define RK29_CAM_POWERACTIVE_BITPOS 0x00
#define RK29_CAM_POWERACTIVE_MASK (1<<RK29_CAM_POWERACTIVE_BITPOS)

View File

@@ -964,6 +964,11 @@ config SOC_CAMERA_GC0308
depends on SOC_CAMERA && I2C
help
This is a GC0308 camera driver
config SOC_CAMERA_SIV120B
tristate "siv120b support"
depends on SOC_CAMERA && I2C
help
This is a SIV120B camera driver
config MX1_VIDEO
bool

View File

@@ -92,7 +92,7 @@ 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
obj-$(CONFIG_SOC_CAMERA_SIV120B) += siv120b.o
# And now the v4l2 drivers:
obj-$(CONFIG_VIDEO_BT848) += bt8xx/

2737
drivers/media/video/siv120b.c Executable file

File diff suppressed because it is too large Load Diff

View File

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