Skip to contentSkip to conversation

media: ov8856: Add support for OV8856 sensor

PATCH Ben Kao 2 participants 3 messages Nov 8, 2018 – Nov 20, 2018

Subsystems (3)
lore
Share & tools
lore

Ben Kao

author
#0 lore raw

This patch adds driver for Omnivision's ov8856 sensor, the driver supports following features:

- manual exposure/gain(analog and digital) control support
- two link frequencies
- VBLANK/HBLANK support
- test pattern support
- media controller support
- runtime pm support
- supported resolutions
+ 3280x2464 at 30FPS
+ 1640x1232 at 30FPS

---
 drivers/media/i2c/Kconfig  |   12 +
 drivers/media/i2c/Makefile |    1 +
 drivers/media/i2c/ov8856.c | 1296 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1309 insertions(+)
 create mode 100644 drivers/media/i2c/ov8856.c
drivers/media/i2c/Kconfig +12 -0
index 704af21..4fdcb92 100644
@@ -806,6 +806,18 @@ config VIDEO_OV7740
 	  This is a Video4Linux2 sensor driver for the OmniVision
 	  OV7740 VGA camera sensor.
 
+config VIDEO_OV8856
+	tristate "OmniVision OV8856 sensor support"
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+	depends on MEDIA_CAMERA_SUPPORT
+	select V4L2_FWNODE
+	help
+	  This is a Video4Linux2 sensor driver for the OmniVision
+	  OV8856 camera sensor.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ov8856.
+
 config VIDEO_OV9650
 	tristate "OmniVision OV9650/OV9652 sensor support"
 	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
drivers/media/i2c/Makefile +1 -0
index 260d4d9..47accb0 100644
@@ -78,6 +78,7 @@ obj-$(CONFIG_VIDEO_OV7640) += ov7640.o
 obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
 obj-$(CONFIG_VIDEO_OV772X) += ov772x.o
 obj-$(CONFIG_VIDEO_OV7740) += ov7740.o
+obj-$(CONFIG_VIDEO_OV8856) += ov8856.o
 obj-$(CONFIG_VIDEO_OV9650) += ov9650.o
 obj-$(CONFIG_VIDEO_OV13858) += ov13858.o
 obj-$(CONFIG_VIDEO_MT9M032) += mt9m032.o
drivers/media/i2c/ov8856.c new file +1296 -0

1,296 lines not on this page · raw message

Signature · 1 line
2.7.4
maintainer
#1 lore raw

Hi Ben,

Quoted 13 lines · Ben Kao

This patch adds driver for Omnivision's ov8856 sensor, the driver supports following features:

- manual exposure/gain(analog and digital) control support
- two link frequencies
- VBLANK/HBLANK support
- test pattern support
- media controller support
- runtime pm support
- supported resolutions
+ 3280x2464 at 30FPS
+ 1640x1232 at 30FPS

Quoted 1 line

I just realised the driver is missing the MAINTAINERS entry. Could you provide one? Just the diff is fine, I'll then squash it to the patch.

Thanks.

Signature · 4 lines
Regards,

Sakari Ailus
[email protected]
author
#2 lore raw

Hi Sakari,

Quoted 21 lines

Hi Ben,

Quoted 13 lines · Ben Kao

This patch adds driver for Omnivision's ov8856 sensor, the driver supports following features:

- manual exposure/gain(analog and digital) control support
- two link frequencies
- VBLANK/HBLANK support
- test pattern support
- media controller support
- runtime pm support
- supported resolutions
+ 3280x2464 at 30FPS
+ 1640x1232 at 30FPS

Quoted 1 line

I just realised the driver is missing the MAINTAINERS entry. Could you provide one? Just the diff is fine, I'll then squash it to the patch.

Quoted 7 lines

Thanks.

--
Regards,

Sakari Ailus
[email protected]

We are still waiting for Omnivision's approval.
Once if get Omnivision's approval, I will update patch with MAINTAINERS entry.

Thanks.

Regards,

Ben Kao