mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
camera:add support gc0309 and sid130B sensor driver
This commit is contained in:
@@ -45,7 +45,9 @@
|
||||
#define RK29_CAM_SENSOR_MT9P111 mt9p111
|
||||
#define RK29_CAM_SENSOR_GT2005 gt2005
|
||||
#define RK29_CAM_SENSOR_GC0308 gc0308
|
||||
#define RK29_CAM_SENSOR_GC0309 gc0309
|
||||
#define RK29_CAM_SENSOR_SIV120B siv120b
|
||||
#define RK29_CAM_SENSOR_SID130B sid120B
|
||||
|
||||
#define RK29_CAM_SENSOR_NAME_OV7675 "ov7675"
|
||||
#define RK29_CAM_SENSOR_NAME_OV9650 "ov9650"
|
||||
@@ -60,7 +62,9 @@
|
||||
#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_GC0309 "gc0309"
|
||||
#define RK29_CAM_SENSOR_NAME_SIV120B "siv120b"
|
||||
#define RK29_CAM_SENSOR_NAME_SID130B "sid120B"
|
||||
|
||||
#define RK29_CAM_POWERACTIVE_BITPOS 0x00
|
||||
#define RK29_CAM_POWERACTIVE_MASK (1<<RK29_CAM_POWERACTIVE_BITPOS)
|
||||
|
||||
@@ -977,11 +977,22 @@ config SOC_CAMERA_GC0308
|
||||
depends on SOC_CAMERA && I2C
|
||||
help
|
||||
This is a GC0308 camera driver
|
||||
config SOC_CAMERA_GC0309
|
||||
tristate "GC0309 support"
|
||||
depends on SOC_CAMERA && I2C
|
||||
help
|
||||
This is a GC0309 camera driver
|
||||
config SOC_CAMERA_SIV120B
|
||||
tristate "siv120b support"
|
||||
depends on SOC_CAMERA && I2C
|
||||
help
|
||||
This is a SIV120B camera driver
|
||||
|
||||
config SOC_CAMERA_SID130B
|
||||
tristate "sid130b support"
|
||||
depends on SOC_CAMERA && I2C
|
||||
help
|
||||
This is a SID130B camera driver
|
||||
|
||||
config MX1_VIDEO
|
||||
bool
|
||||
|
||||
@@ -92,7 +92,9 @@ 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_GC0309) += gc0309.o
|
||||
obj-$(CONFIG_SOC_CAMERA_SIV120B) += siv120b.o
|
||||
obj-$(CONFIG_SOC_CAMERA_SID130B) += sid130B.o
|
||||
# And now the v4l2 drivers:
|
||||
|
||||
obj-$(CONFIG_VIDEO_BT848) += bt8xx/
|
||||
|
||||
2449
drivers/media/video/gc0309.c
Executable file
2449
drivers/media/video/gc0309.c
Executable file
File diff suppressed because it is too large
Load Diff
3052
drivers/media/video/sid130B.c
Executable file
3052
drivers/media/video/sid130B.c
Executable file
File diff suppressed because it is too large
Load Diff
@@ -281,7 +281,9 @@ 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 */
|
||||
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 */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user