]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: atomisp: Add support for sensors with a separate ISP v4l2_subdev
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Jan 2025 21:17:27 +0000 (22:17 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 5 May 2025 07:47:28 +0000 (09:47 +0200)
commit1e8c2aa905e50a331f2d52bf1e72594f27113c6e
tree82cb2f8b2d9d4395fe7f0eea743d012e63ddfd17
parentbceff719ef46078ddbc3f20298b7b79ad0f67889
media: atomisp: Add support for sensors with a separate ISP v4l2_subdev

Some sensors have an ISP inside the sensor which the sensor driver models
as a separate v4l2-subdev, like the mt9m114 sensor-driver does.

Since the atomisp driver emulates a standard /dev/video# v4l2-device
without requiring the application to be aware of media-controller centric
/dev/video# devices this requires some special handling in the driver.

Add support for this setup to the atomisp driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_internal.h
drivers/staging/media/atomisp/pci/atomisp_ioctl.c
drivers/staging/media/atomisp/pci/atomisp_v4l2.c