[PATCH v4 0/3] media: i2c: OV8865 image sensor support
From: Paul Kocialkowski
Date: Fri Dec 11 2020 - 10:46:17 EST
This series adds support for the OV8865 image sensor, as a V4L2 subdev
driver. Although an initial series was submitted by Kévin L'hôpital some
weeks ago, this version is significantly new and should be considered a
new series.
The final patch (not for merge) shows how to enable the OV8865 on the
Banana Pi Camera Board v2 with the Banana Pi M3.
Changes since v3:
- Removed debug read in write helper;
- Squashed tailing function calls in return;
- Added Kconfig depend on PM since it's not optional;
- Reordered runtime PM in init;
- Reworked runtime PM order and added ctrls handler free in exit.
Changes since v2:
- Added link-frequencies endpoint property support;
- Marked avdd-supply as non-optional (no internal regulator);
- Used NULL ctrl ops for pixel rate and link freq;
- Extra cosmetic changes.
Changes since v1:
- Used runtime pm;
- Used assigned-clock-rate;
- Removed clock name;
- Returned closest size in set_fmt;
- Removed unneeded references to v4l2 controls;
- Removed unneeded structure packing attribute;
- Removed i2c device table;
- Dual-licensed bindings;
- Used SPDX tags.
Kévin L'hôpital (1):
ARM: dts: sun8i: a83t: bananapi-m3: Enable MIPI CSI-2 with OV8865
Paul Kocialkowski (2):
dt-bindings: media: i2c: Add OV8865 bindings documentation
media: i2c: Add support for the OV8865 image sensor
.../bindings/media/i2c/ovti,ov8865.yaml | 124 +
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 102 +
drivers/media/i2c/Kconfig | 13 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/ov8865.c | 2981 +++++++++++++++++
5 files changed, 3221 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov8865.yaml
create mode 100644 drivers/media/i2c/ov8865.c
--
2.29.2