From patchwork Tue Jan 13 00:08:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 25755 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 6FA93C32F0 for ; Tue, 13 Jan 2026 00:09:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 125C862015; Tue, 13 Jan 2026 01:09:28 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="rczyoQvI"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F3CA762008 for ; Tue, 13 Jan 2026 01:09:26 +0100 (CET) Received: from pendragon.ideasonboard.com (81-175-209-152.bb.dnainternet.fi [81.175.209.152]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 55D1912D6 for ; Tue, 13 Jan 2026 01:09:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1768262941; bh=aNoMaVmQCckXyR5NQCh2+FMzgF7Lwlv6SmpfRTabAds=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rczyoQvID7GqjLBJFhUx85ktc40bERTeXVEhweuPsI8V/FifBpLaDuihDZjo+O0on w9KWuXjYxlIFoPyJm66ZL2clTria9R5cKImLMye5kbol+neVKcjJomBHYm+GV7W0M9 MA3pB5aGylutg+suUBnYAIhNO9WuuLfYH5gZyhsM= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH 35/36] pipeline: simple: Rename supported_devices configuration option to devices Date: Tue, 13 Jan 2026 02:08:07 +0200 Message-ID: <20260113000808.15395-36-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20260113000808.15395-1-laurent.pinchart@ideasonboard.com> References: <20260113000808.15395-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The pipelines.simple.supported_devices configuration entry list per-device options for the simple pipeline handler. Rename "supported_devices" to "devices" to indicate its role more clearly. Signed-off-by: Laurent Pinchart --- Documentation/runtime_configuration.rst | 6 +++--- src/libcamera/pipeline/simple/simple.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst index 8c920978648d..19c2309ac94f 100644 --- a/Documentation/runtime_configuration.rst +++ b/Documentation/runtime_configuration.rst @@ -43,7 +43,7 @@ file structure: - ... # pipeline name pipelines: simple: - supported_devices: + devices: - driver: # driver name, e.g. `mxc-isi` software_isp: # true/false software_isp: @@ -76,7 +76,7 @@ Configuration file example - simple pipelines: simple: - supported_devices: + devices: - driver: mxc-isi software_isp: true software_isp: @@ -139,7 +139,7 @@ LIBCAMERA__TUNING_FILE Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json`` -pipelines.simple.supported_devices.driver, pipelines.simple.supported_devices.software_isp +pipelines.simple.devices.driver, pipelines.simple.devices.software_isp Override whether software ISP is enabled for the given driver. Example `driver` value: ``mxc-isi`` diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index bdc87d39ef0b..0ae9e081f01a 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -1881,7 +1881,7 @@ bool SimplePipelineHandler::matchDevice(std::shared_ptr media, swIspEnabled_ = info.swIspEnabled; const GlobalConfiguration &configuration = cameraManager()->_d()->configuration(); for (GlobalConfiguration::Option entry : - configuration.configuration()["pipelines"]["simple"]["supported_devices"] + configuration.configuration()["pipelines"]["simple"]["devices"] .asList()) { auto name = entry["driver"].get(); if (name == info.driver) {