[PATCH] media: raspberrypi: cfe: Enable video capture on CSI2_CH1
From: Tomi Valkeinen
Date: Thu Jun 11 2026 - 05:21:35 EST
The upstreamed CFE driver did not enable video capture on the second
DMA channel, only metadata capture, to imitate the downstream
Raspberry Pi kernel.
Let's drop this limitation and also support video streams.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>
---
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
index 8375ed3e97b9..40eef608504d 100644
--- a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
+++ b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
@@ -130,15 +130,9 @@ static const struct node_description node_desc[NUM_NODES] = {
.pad_flags = MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUST_CONNECT,
.link_pad = CSI2_PAD_FIRST_SOURCE + 0
},
- /*
- * At the moment the main userspace component (libcamera) doesn't
- * support metadata with video nodes that support both video and
- * metadata. So for the time being this node is set to only support
- * V4L2_CAP_META_CAPTURE.
- */
[CSI2_CH1] = {
.name = "csi2-ch1",
- .caps = V4L2_CAP_META_CAPTURE,
+ .caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_META_CAPTURE,
.pad_flags = MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUST_CONNECT,
.link_pad = CSI2_PAD_FIRST_SOURCE + 1
},
---
base-commit: 06cb687a5132fcffe624c0070576ab852ac6b568
change-id: 20260611-cfe-ch1-video-0116fb7151ba
Best regards,
--
Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>