mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
camera: add support gc0308 sensor driver
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
2961
drivers/media/video/gc0308.c
Executable file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user