Show a patch.

GET /api/1.1/patches/25755/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 25755,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/25755/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25755/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260113000808.15395-36-laurent.pinchart@ideasonboard.com>",
    "date": "2026-01-13T00:08:07",
    "name": "[35/36] pipeline: simple: Rename supported_devices configuration option to devices",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f48d23bdf8284b53ece12de4a2d3b7bb19e4df76",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/25755/mbox/",
    "series": [
        {
            "id": 5703,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5703/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5703",
            "date": "2026-01-13T00:07:32",
            "name": "libcamera: Global configuration file improvements",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5703/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25755/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25755/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 6FA93C32F0\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 13 Jan 2026 00:09:28 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 125C862015;\n\tTue, 13 Jan 2026 01:09:28 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F3CA762008\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Jan 2026 01:09:26 +0100 (CET)",
            "from pendragon.ideasonboard.com (81-175-209-152.bb.dnainternet.fi\n\t[81.175.209.152])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 55D1912D6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Jan 2026 01:09:01 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"rczyoQvI\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768262941;\n\tbh=aNoMaVmQCckXyR5NQCh2+FMzgF7Lwlv6SmpfRTabAds=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=rczyoQvID7GqjLBJFhUx85ktc40bERTeXVEhweuPsI8V/FifBpLaDuihDZjo+O0on\n\tw9KWuXjYxlIFoPyJm66ZL2clTria9R5cKImLMye5kbol+neVKcjJomBHYm+GV7W0M9\n\tMA3pB5aGylutg+suUBnYAIhNO9WuuLfYH5gZyhsM=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH 35/36] pipeline: simple: Rename supported_devices\n\tconfiguration 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",
        "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": "The pipelines.simple.supported_devices configuration entry list\nper-device options for the simple pipeline handler. Rename\n\"supported_devices\" to \"devices\" to indicate its role more clearly.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/runtime_configuration.rst  | 6 +++---\n src/libcamera/pipeline/simple/simple.cpp | 2 +-\n 2 files changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/Documentation/runtime_configuration.rst b/Documentation/runtime_configuration.rst\nindex 8c920978648d..19c2309ac94f 100644\n--- a/Documentation/runtime_configuration.rst\n+++ b/Documentation/runtime_configuration.rst\n@@ -43,7 +43,7 @@ file structure:\n       - ... # pipeline name\n     pipelines:\n       simple:\n-        supported_devices:\n+        devices:\n           - driver: # driver name, e.g. `mxc-isi`\n             software_isp: # true/false\n     software_isp:\n@@ -76,7 +76,7 @@ Configuration file example\n        - simple\n      pipelines:\n        simple:\n-         supported_devices:\n+         devices:\n            - driver: mxc-isi\n              software_isp: true\n      software_isp:\n@@ -139,7 +139,7 @@ LIBCAMERA_<NAME>_TUNING_FILE\n \n    Example value: ``/usr/local/share/libcamera/ipa/rpi/vc4/custom_sensor.json``\n \n-pipelines.simple.supported_devices.driver, pipelines.simple.supported_devices.software_isp\n+pipelines.simple.devices.driver, pipelines.simple.devices.software_isp\n    Override whether software ISP is enabled for the given driver.\n \n    Example `driver` value: ``mxc-isi``\ndiff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp\nindex bdc87d39ef0b..0ae9e081f01a 100644\n--- a/src/libcamera/pipeline/simple/simple.cpp\n+++ b/src/libcamera/pipeline/simple/simple.cpp\n@@ -1881,7 +1881,7 @@ bool SimplePipelineHandler::matchDevice(std::shared_ptr<MediaDevice> media,\n \tswIspEnabled_ = info.swIspEnabled;\n \tconst GlobalConfiguration &configuration = cameraManager()->_d()->configuration();\n \tfor (GlobalConfiguration::Option entry :\n-\t     configuration.configuration()[\"pipelines\"][\"simple\"][\"supported_devices\"]\n+\t     configuration.configuration()[\"pipelines\"][\"simple\"][\"devices\"]\n \t\t     .asList()) {\n \t\tauto name = entry[\"driver\"].get<std::string>();\n \t\tif (name == info.driver) {\n",
    "prefixes": [
        "35/36"
    ]
}