mbox series

[v16,0/2] media: i2c: add support for OV02A10 sensor

Message ID 20201125141756.13770-1-dongchun.zhu@mediatek.com (mailing list archive)
Headers show
Series media: i2c: add support for OV02A10 sensor | expand


Dongchun Zhu Nov. 25, 2020, 2:17 p.m. UTC

OminiVision OV02A10 is a 2-megapixel 10-bit RAW CMOS 1/5" sensor which has
a single MIPI lane interface. This is a camera sensor using the I2C bus
for control and the CSI-2 bus for data. 

The driver is implemented with V4L2 framework.
 - Async registered as a V4L2 sub-device.
 - As the first component of camera system including ISP processing pipeline.
 - A media entity providing one source pad in common and two for dual camera.

Also this driver supports the following features:
 - Manual exposure and analog gain control support
 - Vertical blanking control support
 - Test pattern support
 - Media controller support
 - Runtime PM support
 - Support resolution: 1600x1200 at 30FPS

Changes of v16 mainly address comments from Andy, Rob, Tomasz and Sakari.
Compared to v15:
 - Move the property 'ovti,mipi-clock-voltage' under the endpoint node
 - Update the hardcoded masks with the GENMASK macro.
 - Replace fwnode_property_read_*() with device property API.
 - Fix other review comments to improve readability.

Please review.

Dongchun Zhu (2):
  media: dt-bindings: media: i2c: document OV02A10 DT bindings
  media: i2c: add OV02A10 image sensor driver

 .../bindings/media/i2c/ovti,ov02a10.yaml           |  159 +++
 MAINTAINERS                                        |    8 +
 drivers/media/i2c/Kconfig                          |   13 +
 drivers/media/i2c/Makefile                         |    1 +
 drivers/media/i2c/ov02a10.c                        | 1013 ++++++++++++++++++++
 5 files changed, 1194 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml
 create mode 100644 drivers/media/i2c/ov02a10.c