linux/drivers/media/platform/sunxi
Paul Kocialkowski 131823c434 media: sun6i-csi: Add support for hooking to the isp devices
In order to use the isp and csi together, both devices need to be
parented to the same v4l2 and media devices. We use the isp as
top-level device and let the csi code hook to its v4l2 and media
devices when async subdev registration takes place.

As a result v4l2/media device setup is only called when the ISP
is missing and the capture device is registered after the devices
are hooked. The bridge subdev and its notifier are registered
without any device when the ISP is available. Top-level pointers
for the devices are introduced to either redirect to the hooked ones
(isp available) or the registered ones (isp missing).

Also keep track of whether the capture node was setup or not to
avoid cleaning up resources when it wasn't.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-11-25 07:25:05 +00:00
..
sun4i-csi media: sun4i-csi: Add a Kconfig dependency on RESET_CONTROLLER 2022-09-24 11:21:44 +02:00
sun6i-csi media: sun6i-csi: Add support for hooking to the isp devices 2022-11-25 07:25:05 +00:00
sun6i-mipi-csi2 media: sun6i-mipi-csi2: Add a Kconfig dependency on RESET_CONTROLLER 2022-09-24 11:21:44 +02:00
sun8i-a83t-mipi-csi2 media: sun8i-a83t-mipi-csi2: Add a Kconfig dependency on RESET_CONTROLLER 2022-09-24 11:21:44 +02:00
sun8i-di media: sun8i-di: Add a Kconfig dependency on RESET_CONTROLLER 2022-09-24 11:21:45 +02:00
sun8i-rotate media: sun8i-rotate: Add a Kconfig dependency on RESET_CONTROLLER 2022-09-24 11:21:45 +02:00
Kconfig media: sunxi: Add support for the A83T MIPI CSI-2 controller 2022-07-08 15:06:26 +01:00
Makefile media: sunxi: Add support for the A83T MIPI CSI-2 controller 2022-07-08 15:06:26 +01:00