linux/drivers/media
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
..
cec media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
common treewide: use get_random_{u8,u16}() when possible, part 1 2022-10-11 17:42:58 -06:00
dvb-core media: dvb-core: remove variable n, turn for-loop to while-loop 2022-11-04 16:56:45 +01:00
dvb-frontends media: cxd2820r: remove unused cxd2820r_debug declaration 2022-10-24 19:03:52 +02:00
firewire media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
i2c media: i2c: ov9282: Support event handlers 2022-11-25 06:58:41 +00:00
mc media: mc: convert pipeline funcs to take media_pad 2022-09-24 09:22:30 +02:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: saa7164: remove variable cnt 2022-10-24 19:03:54 +02:00
platform media: sun6i-csi: Add support for hooking to the isp devices 2022-11-25 07:25:05 +00:00
radio radio-terratec: Remove variable p 2022-10-24 19:03:54 +02:00
rc media: mceusb: set timeout to at least timeout provided 2022-09-24 07:50:42 +02:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers Tag branch 2022-11-15 12:11:46 +00:00
tuners media: mxl5005s: Make array RegAddr static const 2022-10-24 19:03:53 +02:00
usb media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
v4l2-core media: subdev: Replace custom implementation of device_match_fwnode() 2022-11-25 06:44:26 +00:00
Kconfig media: remove reference to CONFIG_EMBEDDED in MEDIA_SUPPORT_FILTER 2022-09-08 18:19:29 +02:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00