{"id":19509,"url":"https://patchwork.libcamera.org/api/1.1/patches/19509/?format=json","web_url":"https://patchwork.libcamera.org/patch/19509/","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":"<20240218164908.15921-5-laurent.pinchart@ideasonboard.com>","date":"2024-02-18T16:49:07","name":"[v3,4/5] include: linux: Add RKISP1_V_IMX8MP version","commit_ref":"d2436c57d70d2e1f8985f0f421b086c31f581ddc","pull_url":null,"state":"accepted","archived":false,"hash":"5eb25dabb690e0f93af0595059f6e59e4c83a8b5","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/19509/mbox/","series":[{"id":4171,"url":"https://patchwork.libcamera.org/api/1.1/series/4171/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4171","date":"2024-02-18T16:49:03","name":"ipa: rkisp1: Support the i.MX8MP ISP","version":3,"mbox":"https://patchwork.libcamera.org/series/4171/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/19509/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/19509/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 0E67EBF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 18 Feb 2024 16:49:14 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C77CE62816;\n\tSun, 18 Feb 2024 17:49:13 +0100 (CET)","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 ECB0F62802\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 18 Feb 2024 17:49:11 +0100 (CET)","from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi\n\t[89.27.53.110])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 042651ABC;\n\tSun, 18 Feb 2024 17:49:05 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"T5R4Qyd7\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1708274946;\n\tbh=KiC9bqjOF4oj0Zh0z+6IYqSgvOBbpakbALtWIQmbxFc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=T5R4Qyd7gHzshVeaM5HDJJhlQcHrX9Oh+Okg/gytHv8ncg9y3sEC9cua6JIDgwDuv\n\t6wuJLu98kMsSPBTFhTSMkQfeoEKHA9oXBO1aAEZEVdnQ7uVTZgmfQ1TSj75KOrQeT3\n\tiuFIxYcScCtqPIBhm+/eHL4LNOtc4PzgvYRuugMo=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Subject":"[PATCH v3 4/5] include: linux: Add RKISP1_V_IMX8MP version","Date":"Sun, 18 Feb 2024 18:49:07 +0200","Message-ID":"<20240218164908.15921-5-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20240218164908.15921-1-laurent.pinchart@ideasonboard.com>","References":"<20240218164908.15921-1-laurent.pinchart@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":"From: Paul Elder <paul.elder@ideasonboard.com>\n\nPatches have been posted to the linux-media@vger.kernel.org mailing list\nto add i.MX8MP support to the rkisp1 driver ([1]). As no changes are\nexpected to the userspace API in future versions of the series, add the\nRKISP1_V_IMX8MP version manually to the rkisp1-config.h header already.\nOnce the patches get merged in the kernel, the changes will trickle down\nto libcamera with the next kernel headers update.\n\n[1] https://lore.kernel.org/linux-media/20240216095458.2919694-1-paul.elder@ideasonboard.com/\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/linux/rkisp1-config.h | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)","diff":"diff --git a/include/linux/rkisp1-config.h b/include/linux/rkisp1-config.h\nindex ec7cde8cd2e3..2d1c448a6ab8 100644\n--- a/include/linux/rkisp1-config.h\n+++ b/include/linux/rkisp1-config.h\n@@ -4,8 +4,8 @@\n  * Copyright (C) 2017 Rockchip Electronics Co., Ltd.\n  */\n \n-#ifndef _RKISP1_CONFIG_H\n-#define _RKISP1_CONFIG_H\n+#ifndef _UAPI_RKISP1_CONFIG_H\n+#define _UAPI_RKISP1_CONFIG_H\n \n #include <linux/types.h>\n \n@@ -179,12 +179,14 @@\n  * @RKISP1_V11: declared in the original vendor code, but not used\n  * @RKISP1_V12: used at least in rk3326 and px30\n  * @RKISP1_V13: used at least in rk1808\n+ * @RKISP1_V_IMX8MP: used in at least imx8mp\n  */\n enum rkisp1_cif_isp_version {\n \tRKISP1_V10 = 10,\n \tRKISP1_V11,\n \tRKISP1_V12,\n \tRKISP1_V13,\n+\tRKISP1_V_IMX8MP,\n };\n \n enum rkisp1_cif_isp_histogram_mode {\n@@ -992,4 +994,4 @@ struct rkisp1_stat_buffer {\n \tstruct rkisp1_cif_isp_stat params;\n };\n \n-#endif /* _RKISP1_CONFIG_H */\n+#endif /* _UAPI_RKISP1_CONFIG_H */\n","prefixes":["v3","4/5"]}