Commit 472377fe authored by Shawn Tu's avatar Shawn Tu Committed by Sakari Ailus
Browse files

media: Add a driver for the og01a1b camera sensor



Add a V4L2 sub-device driver for Omnivision og01a1b b&w
image sensor. This is a camera sensor using the I2C bus
for control and the CSI-2 bus for data.

This driver supports following features:
- manual exposure and analog/digital gain control support
- vblank/hblank control support
- test pattern support
- media controller support
- runtime PM support
- support following resolutions:
  + 1280x1024 at 120FPS

Signed-off-by: default avatarShawn Tu <shawnx.tu@intel.com>
[Sakari Ailus: Update according to recent v4l2-async API changes]
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
parent d4cb5d3c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14185,6 +14185,12 @@ M: Harald Welte <laforge@gnumonks.org>
S:	Maintained
F:	drivers/char/pcmcia/cm4040_cs.*
OMNIVISION OG01A1B SENSOR DRIVER
M:	Shawn Tu <shawnx.tu@intel.com>
L:	linux-media@vger.kernel.org
S:	Maintained
F:	drivers/media/i2c/og01a1b.c
OMNIVISION OV02A10 SENSOR DRIVER
M:	Dongchun Zhu <dongchun.zhu@mediatek.com>
L:	linux-media@vger.kernel.org
+13 −0
Original line number Diff line number Diff line
@@ -912,6 +912,19 @@ config VIDEO_IMX412
	  To compile this driver as a module, choose M here: the
	  module will be called imx412.

config VIDEO_OG01A1B
	tristate "OmniVision OG01A1B sensor support"
	depends on I2C && VIDEO_V4L2
	select MEDIA_CONTROLLER
	select VIDEO_V4L2_SUBDEV_API
	select V4L2_FWNODE
	help
	  This is a Video4Linux2 sensor driver for the OmniVision
	  OG01A1B camera.

	  To compile this driver as a module, choose M here: the
	  module will be called og01a1b.

config VIDEO_OV02A10
	tristate "OmniVision OV02A10 sensor support"
	depends on VIDEO_V4L2 && I2C
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ obj-$(CONFIG_VIDEO_VP27SMPX) += vp27smpx.o
obj-$(CONFIG_VIDEO_SONY_BTF_MPX) += sony-btf-mpx.o
obj-$(CONFIG_VIDEO_UPD64031A) += upd64031a.o
obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
obj-$(CONFIG_VIDEO_OG01A1B) += og01a1b.o
obj-$(CONFIG_VIDEO_OV02A10) += ov02a10.o
obj-$(CONFIG_VIDEO_OV08D10) += ov08d10.o
obj-$(CONFIG_VIDEO_OV2640) += ov2640.o
+1128 −0

File added.

Preview size limit exceeded, changes collapsed.