{"id":23917,"url":"https://patchwork.libcamera.org/api/1.1/covers/23917/?format=json","web_url":"https://patchwork.libcamera.org/cover/23917/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20250724065256.75175-1-dan.scally@ideasonboard.com>","date":"2025-07-24T06:52:46","name":"[00/10] Support memory input mode in mali-c55","submitter":{"id":156,"url":"https://patchwork.libcamera.org/api/1.1/people/156/?format=json","name":"Dan Scally","email":"dan.scally@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/23917/mbox/","series":[{"id":5319,"url":"https://patchwork.libcamera.org/api/1.1/series/5319/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5319","date":"2025-07-24T06:52:46","name":"Support memory input mode in mali-c55","version":1,"mbox":"https://patchwork.libcamera.org/series/5319/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/23917/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 58E64C3323\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 24 Jul 2025 06:53:19 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 957A669092;\n\tThu, 24 Jul 2025 08:53:17 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 64C6669078\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 24 Jul 2025 08:53:14 +0200 (CEST)","from mail.ideasonboard.com\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 64F257F0;\n\tThu, 24 Jul 2025 08:52:35 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"gGsDIqRF\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753339955;\n\tbh=IhdjkeIuTpT2gagMzV2DxFQ4UPi1wYOYX+50m1BFztI=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=gGsDIqRFuGo8O67CHBRLW1CkVoQ5SezSpM/wcEtNwFA+5j7ueaLIjtR1znC9d49Sk\n\tW1OgAyCZ6N65D7ChbaHAEBjzjad4hb59LHkXi8m2Rbh1dFP7xqmEiCazwKb38ax5HK\n\tEJUVvhyER7X88/KdwgaXgI9ytNiXAHSIvq8YU6Zg=","From":"Daniel Scally <dan.scally@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Daniel Scally <dan.scally@ideasonboard.com>","Subject":"[PATCH 00/10] Support memory input mode in mali-c55","Date":"Thu, 24 Jul 2025 07:52:46 +0100","Message-Id":"<20250724065256.75175-1-dan.scally@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello all\n\nThis series adds support to the mali-c55 pipeline handler for the\nmemory input mode found on the RZ/V2H implementation. Supporting\npatches add support for the bayer-agnostic pixel formats that are\noutput by the rzg2l-cru driver, which is the devices used to capture\nimages on the kakip. A new class is added to the pipeline handler\nto interact with the CRU's V4L2 and Media Controller interfaces.\nThis should be seen as a short term solution - the CRU is not\nguaranteed to be the device filling this role for the C55 and so the\nideal would be modular pipelines.\n\nThe series is based on the recent set allowing matching of entity names\nusing regex patterns, as the rzg2l-cru driver registers its entities\nwith names incorporating memory addresses\n\nThanks\nDan\n\n[1] https://patchwork.libcamera.org/project/libcamera/list/?series=5293\n\nDaniel Scally (10):\n  include: linux: Add Renesas RZ/G2L CRU Pixel Formats\n  include: linux: Add RAWnn to drm_fourcc.h\n  libcamera: bayer_format: Add \"NONE\" to BayerFormat::Order enum\n  libcamera: bayer_format: Add CRU packing to BayerFormat\n  libcamera: formats: Add CRU-packed RAWnn libcamera formats\n  libcamera: bayer_format: Add entries for the CRU packed RAWnn formats\n  libcamera: mali-c55: Add RZG2LCRU class\n  libcamera: mali-c55: Move entity parameter from constructor to\n    ::init()\n  libcamera: mali-c55: Use the RZG2LCRU class\n  libcamera: mali-c55: Match for memory input media entities\n\n .clang-format                                 |   1 -\n include/libcamera/internal/bayer_format.h     |   4 +-\n include/linux/drm_fourcc.h                    |   9 +\n include/linux/videodev2.h                     |   6 +\n src/libcamera/bayer_format.cpp                |  13 +\n src/libcamera/formats.cpp                     |  30 ++\n src/libcamera/formats.yaml                    |  13 +\n src/libcamera/pipeline/mali-c55/mali-c55.cpp  | 326 ++++++++++++++++--\n src/libcamera/pipeline/mali-c55/meson.build   |   3 +-\n src/libcamera/pipeline/mali-c55/rzg2l-cru.cpp | 236 +++++++++++++\n src/libcamera/pipeline/mali-c55/rzg2l-cru.h   |  66 ++++\n src/libcamera/sensor/camera_sensor_legacy.cpp |   6 +\n 12 files changed, 680 insertions(+), 33 deletions(-)\n create mode 100644 src/libcamera/pipeline/mali-c55/rzg2l-cru.cpp\n create mode 100644 src/libcamera/pipeline/mali-c55/rzg2l-cru.h"}