media: i2c: Add Omnivision OV02C10 sensor driver

Add a new driver for the Omnivision OV02C10 camera sensor. This is based
on the out of tree driver by Hao Yao <hao.yao@intel.com> from:
https://github.com/intel/ipu6-drivers/blob/master/drivers/media/i2c/ov02c10.c

This has been tested on a Dell XPS 9440 together with the IPU6 isys CSI
driver and the libcamera software ISP code.

Tested-by: Ingvar Hagelund <ingvar@redpill-linpro.com> # Dell XPS 9340
Tested-by: Heimir Thor Sverrisson <heimir.sverrisson@gmail.com> # Dell XPS 9440
Signed-off-by: Heimir Thor Sverrisson <heimir.sverrisson@gmail.com>
Co-developed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Co-developed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> # Dell XPS 9340
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
Heimir Thor Sverrisson
2025-03-27 17:49:27 +01:00
committed by Hans Verkuil
parent f287a048bc
commit 44f89010da
4 changed files with 1032 additions and 0 deletions

View File

@@ -17809,6 +17809,14 @@ T: git git://linuxtv.org/media.git
F: Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml
F: drivers/media/i2c/ov02a10.c
OMNIVISION OV02C10 SENSOR DRIVER
M: Hans de Goede <hansg@kernel.org>
R: Bryan O'Donoghue <bod@kernel.org>
L: linux-media@vger.kernel.org
S: Maintained
T: git git://linuxtv.org/media.git
F: drivers/media/i2c/ov02c10.c
OMNIVISION OV02E10 SENSOR DRIVER
M: Bryan O'Donoghue <bod@kernel.org>
M: Hans de Goede <hansg@kernel.org>

View File

@@ -367,6 +367,16 @@ config VIDEO_OV02E10
To compile this driver as a module, choose M here: the
module will be called ov02e10.
config VIDEO_OV02C10
tristate "OmniVision OV02C10 sensor support"
select V4L2_CCI_I2C
help
This is a Video4Linux2 sensor driver for the OmniVision
OV02C10 camera.
To compile this driver as a module, choose M here: the
module will be called ov02c10.
config VIDEO_OV08D10
tristate "OmniVision OV08D10 sensor support"
help

View File

@@ -83,6 +83,7 @@ obj-$(CONFIG_VIDEO_MT9V111) += mt9v111.o
obj-$(CONFIG_VIDEO_OG01A1B) += og01a1b.o
obj-$(CONFIG_VIDEO_OV01A10) += ov01a10.o
obj-$(CONFIG_VIDEO_OV02A10) += ov02a10.o
obj-$(CONFIG_VIDEO_OV02C10) += ov02c10.o
obj-$(CONFIG_VIDEO_OV02E10) += ov02e10.o
obj-$(CONFIG_VIDEO_OV08D10) += ov08d10.o
obj-$(CONFIG_VIDEO_OV08X40) += ov08x40.o

1013
drivers/media/i2c/ov02c10.c Normal file

File diff suppressed because it is too large Load Diff