media: i2c: add SC132GS driver

Change-Id: I3b39752bddb2035bbd61828c8c86427901c973db
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
This commit is contained in:
Zefa Chen
2019-07-11 09:02:43 +08:00
committed by Tao Huang
parent 72ea36e892
commit e116396f94
3 changed files with 1202 additions and 1 deletions

View File

@@ -927,7 +927,7 @@ config VIDEO_GC8034
module will be called gc8034.
config VIDEO_SC031GS
tristate "GalaxyCore SC031GS sensor support"
tristate "SmartSens SC031GS sensor support"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
default y
help
@@ -936,6 +936,16 @@ config VIDEO_SC031GS
To compile this driver as a module, choose M here: the
module will be called sc031gs.
config VIDEO_SC132GS
tristate "SmartSens SC132GS sensor support"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
default n
help
Support for the Smartsens SC132GS sensor.
To compile this driver as a module, choose M here: the
module will be called sc132gs.
config VIDEO_GC0329
tristate "GalaxyCore GC0329 sensor support"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API

View File

@@ -113,6 +113,7 @@ obj-$(CONFIG_VIDEO_GC2385) += gc2385.o
obj-$(CONFIG_VIDEO_GC5025) += gc5025.o
obj-$(CONFIG_VIDEO_GC8034) += gc8034.o
obj-$(CONFIG_VIDEO_SC031GS) += sc031gs.o
obj-$(CONFIG_VIDEO_SC132GS) += sc132gs.o
obj-$(CONFIG_VIDEO_BF3925) += bf3925.o
obj-$(CONFIG_VIDEO_PREISP_DUMMY_SENSOR) += preisp-dummy.o
obj-$(CONFIG_VIDEO_VM149C) += vm149c.o

1190
drivers/media/i2c/sc132gs.c Normal file

File diff suppressed because it is too large Load Diff