media: i2c: add support for OV4689
authorMikhail Rudenko <mike.rudenko@gmail.com>
Sat, 22 Oct 2022 16:20:07 +0000 (19:20 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 25 Oct 2022 11:38:31 +0000 (14:38 +0300)
commit32a437db49aae789eb4c53450b7deedc43e397ae
tree8b8d21569a61c17b982db82275c721f47eb019c3
parent6cbd33e75ec829a2c95ba1f4403c804cf1d85c06
media: i2c: add support for OV4689

Add a V4L2 sub-device driver for OmniVision OV4689 image sensor. This
is a 4 Mpx image sensor using the I2C bus for control and the CSI-2
bus for data.

This driver supports following features:
- manual exposure and analog gain control support
- test pattern support
- media controller support
- runtime PM support
- support following resolutions:
  + 2688x1520 at 30 fps

The driver provides all mandatory V4L2 controls for compatibility with
libcamera. The sensor supports 1/2/4-lane CSI-2 modes, but the driver
implements 4 lane mode only at this moment.

Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
MAINTAINERS
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/i2c/ov4689.c [new file with mode: 0644]