|
|
Log in / Subscribe / Register

media: i2c: Add support for 0V02A10 sensor

From:  Dongchun Zhu <dongchun.zhu-AT-mediatek.com>
To:  <linus.walleij-AT-linaro.org>, <bgolaszewski-AT-baylibre.com>, <mchehab-AT-kernel.org>, <andriy.shevchenko-AT-linux.intel.com>, <robh+dt-AT-kernel.org>, <mark.rutland-AT-arm.com>, <sakari.ailus-AT-linux.intel.com>, <drinkcat-AT-chromium.org>, <tfiga-AT-chromium.org>, <matthias.bgg-AT-gmail.com>, <bingbu.cao-AT-intel.com>
Subject:  [PATCH V11 0/2] media: i2c: Add support for 0V02A10 sensor
Date:  Tue, 30 Jun 2020 10:49:40 +0800
Message-ID:  <20200630024942.20891-1-dongchun.zhu@mediatek.com>
Cc:  <srv_heupstream-AT-mediatek.com>, <linux-mediatek-AT-lists.infradead.org>, <linux-arm-kernel-AT-lists.infradead.org>, <sj.huang-AT-mediatek.com>, <linux-media-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <louis.kuo-AT-mediatek.com>, <shengnan.wang-AT-mediatek.com>, <dongchun.zhu-AT-mediatek.com>
Archive-link:  Article

Hello,

This series adds DT bindings and V4L2 sub-device driver for OmniVision's
OV02A10 2 megapixel CMOS 1/5" sensor, which has a single MIPI lane interface
and output format of 10-bit RAW.

The driver is implemented with V4L2 framework.
 - Async registered as a V4L2 sub-device.
 - As the first component of camera system including Seninf, ISP pipeline.
 - A media entity that provides one source pad in common and two for dual-cam.
 
Previous versions of this patch-set can be found here:
 v10: https://lore.kernel.org/linux-media/20200615122937.18965-...
 v09: https://lore.kernel.org/linux-media/20200523084103.31276-...
 v08: https://lore.kernel.org/linux-media/20200509080627.23222-...
 v07: https://lore.kernel.org/linux-media/20200430080924.1140-1...
 v06: https://lore.kernel.org/linux-media/20191211112849.16705-...
 v05: https://lore.kernel.org/linux-media/20191104105713.24311-...
 v04: https://lore.kernel.org/linux-media/20190907092728.23897-...
 v03: https://lore.kernel.org/linux-media/20190819034331.13098-...
 v02: https://lore.kernel.org/linux-media/20190704084651.3105-1...
 v01: https://lore.kernel.org/linux-media/20190523102204.24112-...

Changes of v11 are mainly addressing comments from Tomasz.
Compared to v10:
 - Rebase onto 5.8-rc1
 - Update the GPIO polarity for powerdown and reset pins that defined in DT
 - Refine ov02a10_set_fmt()
 - Readjust the GPIO state/value setting for powerdown and reset pins
 - Refine err_power_off error handler section in probe
 - Use pm_runtime_status_suspended() in remove

Please review.
Thanks.

Dongchun Zhu (2):
  media: dt-bindings: media: i2c: Document OV02A10 bindings
  media: i2c: ov02a10: Add OV02A10 image sensor driver

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

-- 
2.9.2


Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds