media: i2c: Add support for alvium camera
authorTommaso Merciai <tomm.merciai@gmail.com>
Mon, 4 Dec 2023 09:47:16 +0000 (10:47 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 12:21:20 +0000 (13:21 +0100)
commit0a7af872915ee34668edf7e4018648a226d9e7f9
treec90ef223f2d12edd94ecd2042762497b913e7e00
parent381d661a00e96f5d84a8ca2bd83cdb96a9f2d07a
media: i2c: Add support for alvium camera

The Alvium camera is shipped with sensor + isp in the same housing.
The camera can be equipped with one out of various sensor and abstract
the user from this. Camera is connected via MIPI CSI-2.

Most of the camera module features are supported, with the main exception
being fw update.

The driver provides all mandatory, optional and recommended V4L2 controls
for maximum compatibility with libcamera

References:
 - https://www.alliedvision.com/en/products/embedded-vision-solutions

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
[Sakari Ailus: Assign ret before using it in probe and squash Tommaso's
       other fixes.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: alvium-csi2.h: SPDX must use /* */ instead of //]
MAINTAINERS
drivers/media/i2c/Kconfig
drivers/media/i2c/Makefile
drivers/media/i2c/alvium-csi2.c [new file with mode: 0644]
drivers/media/i2c/alvium-csi2.h [new file with mode: 0644]