camera : add support gc2005/hi253/hi704/nt99250 sensor driver

This commit is contained in:
ddl
2011-04-27 22:16:28 +08:00
parent 3d0097d2fc
commit 751f546cce
8 changed files with 11996 additions and 2 deletions

View File

@@ -46,8 +46,11 @@
#define RK29_CAM_SENSOR_GT2005 gt2005
#define RK29_CAM_SENSOR_GC0308 gc0308
#define RK29_CAM_SENSOR_GC0309 gc0309
#define RK29_CAM_SENSOR_GC2015 gc2015
#define RK29_CAM_SENSOR_SIV120B siv120b
#define RK29_CAM_SENSOR_SID130B sid120B
#define RK29_CAM_SENSOR_HI253 hi253
#define RK29_CAM_SENSOR_HI704 hi704
#define RK29_CAM_SENSOR_NAME_OV7675 "ov7675"
#define RK29_CAM_SENSOR_NAME_OV9650 "ov9650"
@@ -63,8 +66,11 @@
#define RK29_CAM_SENSOR_NAME_GT2005 "gt2005"
#define RK29_CAM_SENSOR_NAME_GC0308 "gc0308"
#define RK29_CAM_SENSOR_NAME_GC0309 "gc0309"
#define RK29_CAM_SENSOR_NAME_GC2015 "gc2015"
#define RK29_CAM_SENSOR_NAME_SIV120B "siv120b"
#define RK29_CAM_SENSOR_NAME_SID130B "sid120B"
#define RK29_CAM_SENSOR_NAME_HI253 "hi253"
#define RK29_CAM_SENSOR_NAME_HI704 "hi704"
#define RK29_CAM_POWERACTIVE_BITPOS 0x00
#define RK29_CAM_POWERACTIVE_MASK (1<<RK29_CAM_POWERACTIVE_BITPOS)

View File

@@ -982,6 +982,21 @@ config SOC_CAMERA_GC0309
depends on SOC_CAMERA && I2C
help
This is a GC0309 camera driver
config SOC_CAMERA_GC2015
tristate "GC2015 support"
depends on SOC_CAMERA && I2C
help
This is a GC2015 camera driver
config SOC_CAMERA_HI253
tristate "HI253 support"
depends on SOC_CAMERA && I2C
help
This is a HI253 camera driver
config SOC_CAMERA_HI704
tristate "HI704 support"
depends on SOC_CAMERA && I2C
help
This is a HI704 camera driver
config SOC_CAMERA_SIV120B
tristate "siv120b support"
depends on SOC_CAMERA && I2C
@@ -992,7 +1007,13 @@ config SOC_CAMERA_SID130B
tristate "sid130b support"
depends on SOC_CAMERA && I2C
help
This is a SID130B camera driver
This is a SID130B camera driver
config SOC_CAMERA_NT99250
tristate "NT99250 support"
depends on SOC_CAMERA && I2C
help
This is a NT99250 camera driver
config MX1_VIDEO
bool

View File

@@ -93,8 +93,12 @@ 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_GC0309) += gc0309.o
obj-$(CONFIG_SOC_CAMERA_GC2015) += gc2015.o
obj-$(CONFIG_SOC_CAMERA_SIV120B) += siv120b.o
obj-$(CONFIG_SOC_CAMERA_SID130B) += sid130B.o
obj-$(CONFIG_SOC_CAMERA_HI253) += hi253.o
obj-$(CONFIG_SOC_CAMERA_HI704) += hi704.o
obj-$(CONFIG_SOC_CAMERA_NT99250) += nt99250.o
# And now the v4l2 drivers:
obj-$(CONFIG_VIDEO_BT848) += bt8xx/

2655
drivers/media/video/gc2015.c Executable file

File diff suppressed because it is too large Load Diff

3504
drivers/media/video/hi253.c Executable file

File diff suppressed because it is too large Load Diff

2957
drivers/media/video/hi704.c Executable file

File diff suppressed because it is too large Load Diff

2842
drivers/media/video/nt99250.c Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -283,7 +283,12 @@ enum {
V4L2_IDENT_GC0308 = 64101, /* ddl@rock-chips.com : GC0308 support */
V4L2_IDENT_GC0309 = 64102, /* ddl@rock-chips.com : GC0309 support */
V4L2_IDENT_SIV120B = 64103, /* ddl@rock-chips.com : siv120b support */
V4L2_IDENT_SID130B = 64104, /* ddl@rock-chips.com : sid130B support */
V4L2_IDENT_GC2015 = 64105, /* ddl@rock-chips.com : gc2015 support */
V4L2_IDENT_HI253 = 64106, /* ddl@rock-chips.com : hi253 support */
V4L2_IDENT_HI704 = 64107, /* ddl@rock-chips.com : hi704 support */
V4L2_IDENT_NT99250 = 64108, /* ddl@rock-chips.com : nt99250 support */
};
#endif