media: i2c: add gc02m2 sensor driver

Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: I9103cf16c09c4c74243ce2a2084b60f6c87016e6
This commit is contained in:
Wang Panzhenzhuan
2020-12-15 16:28:59 +08:00
committed by Tao Huang
parent 9ae3574797
commit 984eef7727
3 changed files with 1430 additions and 0 deletions

11
drivers/media/i2c/Kconfig Normal file → Executable file
View File

@@ -1316,6 +1316,17 @@ config VIDEO_S5C73M3
This is a V4L2 sensor driver for Samsung S5C73M3
8 Mpixel camera.
config VIDEO_GC02M2
tristate "GalaxyCore GC02M2 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on MEDIA_CAMERA_SUPPORT
select V4L2_FWNODE
help
Support for the GalaxyCore GC02M2 sensor.
To compile this driver as a module, choose M here: the
module will be called gc02m2.
config VIDEO_GC0312
tristate "GalaxyCore GC0312 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API

1
drivers/media/i2c/Makefile Normal file → Executable file
View File

@@ -146,6 +146,7 @@ obj-$(CONFIG_VIDEO_IMX335) += imx335.o
obj-$(CONFIG_VIDEO_IMX347) += imx347.o
obj-$(CONFIG_VIDEO_IMX378) += imx378.o
obj-$(CONFIG_VIDEO_IMX415) += imx415.o
obj-$(CONFIG_VIDEO_GC02M2) += gc02m2.o
obj-$(CONFIG_VIDEO_GC0312) += gc0312.o
obj-$(CONFIG_VIDEO_GC0329) += gc0329.o
obj-$(CONFIG_VIDEO_GC032A) += gc032a.o

1418
drivers/media/i2c/gc02m2.c Normal file

File diff suppressed because it is too large Load Diff