Re: [PATCH] media: i2c: cvs: Register subdev nodes upon binding remote sensor
From: sakari.ailus@xxxxxxxxxxxxxxx
Date: Wed Sep 30 2026 - 08:21:34 EST
Hi Mauro,
On Wed, Sep 30, 2026 at 11:28:08AM +0000, Mauro Marinoni wrote:
> The Intel CVS driver acts as an intermediate CSI-2 bridge between
> the host receiver (e.g. IPU7 ISYS) and the downstream camera sensor.
> When the host driver initializes, its async notifier completes upon
> binding the CVS bridge and registers its initial subdev nodes.
>
> However, when the CVS bridge subsequently binds the downstream sensor
> via its own async notifier callback (cvs_csi_notify_bound), it creates
> the media pad link but omits calling v4l2_device_register_subdev_nodes().
> As a consequence, downstream sensors declaring the flag
> V4L2_SUBDEV_FL_HAS_DEVNODE (such as ov02c10) never have their
> /dev/v4l-subdev* character device created, preventing userspace
> frameworks like libcamera from opening the sensor.
>
> Call v4l2_device_register_subdev_nodes() in cvs_csi_notify_bound() once
> the media pad link is established to expose newly bound subdevices.
>
> Signed-off-by: Mauro Nino Marinoni <mauro.marinoni@xxxxxxxxxxxxxxx>
Please post patches against the media committers tree next branch or
linux-next master. This issue has been fixed by commit
7456b40bc992a3fc34b587545716729923d507b9 .
--
Regards,
Sakari Ailus