From patchwork Fri Nov 24 12:37:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19239 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id AC9A4C3220 for ; Fri, 24 Nov 2023 12:37:26 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 490F4629BD; Fri, 24 Nov 2023 13:37:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1700829446; bh=PHoOqQl1mU4rhGKOBZngIm5Cx+qXd9P3flwWMQ8qsvI=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=UyqJ3/rnpg4Qpn8RkJQUMsCuBQV1c/H60KWkyPmbgIxHd1rq52ISr70byt28HtJy7 5XGl3+9ykTBePGBIozhWZE/T2sxJ8ZpmwwoMkZAw+/Zkcqsr7lGP9PGoUkz/NkFfDn NDzCgvtzN8FfA74CRN/DJrHQexo3G+8Me6NUObs3+Auu98H0ypyhCTwhh9QOtAKxAi i24C96sbIZNdRvgBELJBfRrrWPiYMLWeAJck+a0HR9BT7F9JMIeQxz345+eYaE6TiP mGed+aadA2xs15qmrNl42xSRUKOk1n2XCCNsKBT5PrfG31uewuzRGyPNgjuAcGGXFI XNDPO+eLgxM6A== Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3A0C7629C4 for ; Fri, 24 Nov 2023 13:37:23 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="iqkuKDGU"; dkim-atps=neutral Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-50aab3bf71fso2436383e87.3 for ; Fri, 24 Nov 2023 04:37:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1700829442; x=1701434242; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5/UqwsW17Z81IVQJGqi2TT0SHMcji1M3CcEtztOhSqI=; b=iqkuKDGUtn8ES2+P7gzqJ/MSjsOiNhqz8vegnGcG/YUl7Yqb7vGi+rUAL0JO37IKkH VL8Sj43+FbRTIctBgkVKTU5XgbtIuZ8duw42SGbgUB9tvS6QaLUppJxxNkRLQNtDHLjJ m+XWW/SWjBR7VKhATgMpr8SysW7XVNexEPZBpqf7NFpAEWu3CuPiqf4Cxwq/JcG4BQd3 kekIrp8T671u8/Hfx/qrvi/zyJbJOapzEjiU6FP5zLA2d/jv27UC6EZS1yoN8H92g5Un CJz91U90MB6c4l1xFOcCRUPDqyfv5oTH6HHpSds9Blk4x34ws/1WIPbc8ecEXVHsiMvA 0afw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700829442; x=1701434242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5/UqwsW17Z81IVQJGqi2TT0SHMcji1M3CcEtztOhSqI=; b=S817Xr97n96pTy2cVcBZPj/SkGHxL3OFLt1S+51VcaCJPVvSCNibqX2VI0HnkbWfLy z4f1FOEIiZJ7BUwxeLSlDnsd3I3i0yfTVXLrgRHZgPMwXioGgnB06tt9/Oe2F/ldEnwn fWQPBrou2RZ8SpXM8K/gHCTaEKiVBhAim36dGbe9z5n5OW8B1Aohkj4BqRzQC9nvJsYQ KU7rK/UKvNKtSw0oNSfqfRac6xPsfbqqPu6fYe0JbKpzm2tuBaewJjQ4M2vecyUfFj6Y /JMvJNRQON3PA0aKAi9qI1GbqZX8KasleVe3QTO9uUzHT52iuMhhIjFL7Nr/XwnDXBjb AFiw== X-Gm-Message-State: AOJu0YxyOKfJ6Jiasv3xKNjj6Q9LX+I98Uz2Q/JfgEmHq4QvyhN+35IR SnnJV3l/xBCWUigXAQNX+Oa5UQaVIjuTPd67HKIRSA== X-Google-Smtp-Source: AGHT+IHx9D7nhVs3WNZR6kF8nHwDE9d6iiNQUXUm5hNzPr63QKv3MWlHppNscyvM6zHqg5ZjT6NuXg== X-Received: by 2002:a05:6512:33cf:b0:503:1783:d5a9 with SMTP id d15-20020a05651233cf00b005031783d5a9mr2476765lfg.3.1700829442161; Fri, 24 Nov 2023 04:37:22 -0800 (PST) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id v11-20020a05600c444b00b0040b3867a297sm3303690wmn.36.2023.11.24.04.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 04:37:21 -0800 (PST) To: libcamera-devel@lists.libcamera.org Date: Fri, 24 Nov 2023 12:37:12 +0000 Message-Id: <20231124123713.22519-7-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231124123713.22519-1-naush@raspberrypi.com> References: <20231124123713.22519-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 6/7] build: controls: Add Raspberry Pi vendor specific controls X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add a new control_ids_rpi.yaml file to hold the Raspberry Pi specific vendor controls. This contains a single control PispConfigDumpFile that will be used in the Pi 5 pipeline handler as a trigger to dump the Backend configuration as a JSON file. Signed-off-by: Naushir Patuck Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham --- include/libcamera/meson.build | 2 ++ src/libcamera/control_ids_rpi.yaml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 src/libcamera/control_ids_rpi.yaml diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build index 1504f741ae2f..5d20e4d869e3 100644 --- a/include/libcamera/meson.build +++ b/include/libcamera/meson.build @@ -36,6 +36,8 @@ controls_map = { 'controls': { 'draft': 'control_ids_draft.yaml', 'core': 'control_ids_core.yaml', + 'rpi/pisp': 'control_ids_rpi.yaml', + 'rpi/vc4': 'control_ids_rpi.yaml', }, 'properties': { diff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml new file mode 100644 index 000000000000..abf82098eb12 --- /dev/null +++ b/src/libcamera/control_ids_rpi.yaml @@ -0,0 +1,17 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +# +# Copyright (C) 2023, Raspberry Pi Ltd +# +%YAML 1.1 +--- +# Raspberry Pi (VC4 and PiSP) specific vendor controls +vendor: rpi +controls: + - PispConfigDumpFile: + type: string + description: | + Triggers the Raspberry Pi PiSP pipeline handler to generate a JSON + formatted dump of the Backend configuration to the filename given by the + value of the control. + +... \ No newline at end of file