{"id":23918,"url":"https://patchwork.libcamera.org/api/1.1/patches/23918/?format=json","web_url":"https://patchwork.libcamera.org/patch/23918/","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-2-dan.scally@ideasonboard.com>","date":"2025-07-24T06:52:47","name":"[01/10] include: linux: Add Renesas RZ/G2L CRU Pixel Formats","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"bd3e0d7d795fccd06f85e038825465efb3968c28","submitter":{"id":156,"url":"https://patchwork.libcamera.org/api/1.1/people/156/?format=json","name":"Dan Scally","email":"dan.scally@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/23918/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/patches/23918/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/23918/checks/","tags":{},"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 DA3B0BDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 24 Jul 2025 06:53:22 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 43D9B69096;\n\tThu, 24 Jul 2025 08:53:19 +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 997486907E\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 AA29C17D1;\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=\"fc/fA6Sz\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753339955;\n\tbh=7ySlySvu4he2NhT4wsKGPQRgyDjeYJ/JQDThvTHxKtI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=fc/fA6SzAjqMx/DmY4jB5CyRUu5cbX2uFyQd+u1ZyqL+rrD5fK09tsAdV0L6P8xfP\n\tQX3tcpDmsPFF//PvRHMsQpFSwJJVhBgLaTTRjUF9+J0Sq60GFciupUu4U2q5WUCtOc\n\tJ520uMAPLUxY0zbK3Pjqi3F2RNHIKC+/vMymaT80=","From":"Daniel Scally <dan.scally@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Daniel Scally <dan.scally@ideasonboard.com>","Subject":"[PATCH 01/10] include: linux: Add Renesas RZ/G2L CRU Pixel Formats","Date":"Thu, 24 Jul 2025 07:52:47 +0100","Message-Id":"<20250724065256.75175-2-dan.scally@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20250724065256.75175-1-dan.scally@ideasonboard.com>","References":"<20250724065256.75175-1-dan.scally@ideasonboard.com>","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":"Add the RZ/G2L's Pixel Formats, which are not yet upstream, to\nvideodev2.h\n\nSigned-off-by: Daniel Scally <dan.scally@ideasonboard.com>\n---\n include/linux/videodev2.h | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h\nindex 317d063a..defc80ef 100644\n--- a/include/linux/videodev2.h\n+++ b/include/linux/videodev2.h\n@@ -801,6 +801,12 @@ struct v4l2_pix_format {\n #define V4L2_PIX_FMT_PISP_COMP2_BGGR\tv4l2_fourcc('P', 'C', '2', 'B') /* PiSP 8-bit mode 2 compressed BGGR bayer */\n #define V4L2_PIX_FMT_PISP_COMP2_MONO\tv4l2_fourcc('P', 'C', '2', 'M') /* PiSP 8-bit mode 2 compressed monochrome */\n \n+/* Renesas RZ/V2H CRU packed formats. 64-bit units with contiguous pixels */\n+#define V4L2_PIX_FMT_RAW_CRU10\tv4l2_fourcc('C', 'R', '1', '0')\n+#define V4L2_PIX_FMT_RAW_CRU12\tv4l2_fourcc('C', 'R', '1', '2')\n+#define V4L2_PIX_FMT_RAW_CRU14\tv4l2_fourcc('C', 'R', '1', '4')\n+#define V4L2_PIX_FMT_RAW_CRU20\tv4l2_fourcc('C', 'R', '2', '0')\n+\n /* SDR formats - used only for Software Defined Radio devices */\n #define V4L2_SDR_FMT_CU8          v4l2_fourcc('C', 'U', '0', '8') /* IQ u8 */\n #define V4L2_SDR_FMT_CU16LE       v4l2_fourcc('C', 'U', '1', '6') /* IQ u16le */\n","prefixes":["01/10"]}