Show a patch.

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

{
    "id": 16363,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/16363/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/16363/",
    "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": "<20220624073528.26670-2-naush@raspberrypi.com>",
    "date": "2022-06-24T07:35:25",
    "name": "[libcamera-devel,v2,1/4] libcamera: controls: Add SensorTemperature control",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "e4833c72e3c36ea8a2d006dbc0d7048cd4d76279",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/16363/mbox/",
    "series": [
        {
            "id": 3217,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3217/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3217",
            "date": "2022-06-24T07:35:24",
            "name": "Add SensorTemperature control",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/3217/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/16363/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/16363/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 8D244BD808\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Jun 2022 07:35:34 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0B4566563A;\n\tFri, 24 Jun 2022 09:35:34 +0200 (CEST)",
            "from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com\n\t[IPv6:2a00:1450:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 915F565633\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jun 2022 09:35:31 +0200 (CEST)",
            "by mail-wr1-x42c.google.com with SMTP id e7so1899485wrc.13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jun 2022 00:35:31 -0700 (PDT)",
            "from naush-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tf13-20020a05600c154d00b0039ee391a024sm6695195wmg.14.2022.06.24.00.35.30\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 24 Jun 2022 00:35:30 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1656056134;\n\tbh=oC1T9Bzvpbqx6SM/dzRwJZwUrQNjZdB+6cC84dChtKc=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=t9L+6Kt++7jJWl2abX1ikV2/BSyL4Cku19s0g2ZPhQdfmlRBSVe5Fy8zsw+mjJ5AP\n\tw9Xhr2aWubX+KQ6hmeIqcisVjQmgP5vn08ZvdP22SNWHaqvUw6Ska96D4RXtvtVFDd\n\tCJih06U2pATTMTQvnt9c7VSlkj2rcuXTuhcL+fmau1IUMI50dgk4+oM0SEP2+0BH98\n\trAd4o6mn5dSD/tgH/0OjEycvhcUp5hAhppcPksAXU+5e4Grg1R9imJgr5KJz+yEVxv\n\tEG2IOnx6lrh66ksRsYKDorPMhV/0tLzcEu5EqpOcDG7nea/OjeBEjNFmUUSzB10MtM\n\ta0N7dMc3YHU2Q==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=TlD5JbWM88aNCrfmfL0dUsbi9Rk7oEjslHnb/ehI1TE=;\n\tb=iS9iEIt4FZ7N9kIW+WLgJmytNEuXHU3kXjyZZLt7AqDa9OcUclzibBjJ31dQHVQmsB\n\tq8mz9NyyuvooICDHzTQOx8urQFXGw8zfH2qCbiUGvUHvOll9rnBtfYcllWP8VlnpKeNJ\n\tXTv2mcc30sdSMaOBqKz4mLesKFiV3aDuNZJcVWAEBfTPUonEtBPFGx+VsHfE23OVLQX5\n\tmnLwWM4r9mpHSumDvOcleGY15+5v1cC5AQV/HwUZxBjhgZY8lYft/5MTmKhWiTTH68xr\n\tsehWTuYm0Kbwjps0u2ToFpOAdRkcx2VgL+ALiRkYcU6jZIM8Nh1vIWzBvNf0XnWG7Wh1\n\tu++w=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"iS9iEIt4\"; dkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=TlD5JbWM88aNCrfmfL0dUsbi9Rk7oEjslHnb/ehI1TE=;\n\tb=SlFsM/fhcl0ilFlCQzFwrY9k/YYjVUc2BMYmTKYkARGIAtRmsRKnOXLqm7cWyDctAd\n\tIi1v06RE0V2n/98G7lH0750otVPZ4t+acBpUHu2BeiQcv2DQGa+KcC4iGDYQuMJUOhFq\n\tFlnuoKATm9LRLrDa9ARTqeSvht/TAZf1D09dmXEHdmsd10hMpbdZXW+xk09OwQZptqPM\n\t6fq42Ig4EVxAaykPGMuVayIz51rVMfL9Vs1OjWahHQwdjzFSzwjAZFa4lo4Is8UumErw\n\tnbutEMhyPDVbrYiiTHMT2o2XrLkMm6sBOoVwcvF9dmpk1JOdIDIdEMMx2ks624MTIsXZ\n\tm9NQ==",
        "X-Gm-Message-State": "AJIora/Xj1Omh5lH+dxStPNntRVj89W3fNfGTj3su6DoD6CTSAURxQfa\n\tDRVkg43VfTQ0Mvro1WT1WlP3Pn4O9qV0jAxb",
        "X-Google-Smtp-Source": "AGRyM1uZ64mMEPzeXb3wa46SWUb6DALXH0wVz0TNXtLHVamZDdMg411+GYadDseVwHVaUtcPrOThKA==",
        "X-Received": "by 2002:adf:fb10:0:b0:207:af88:1eb9 with SMTP id\n\tc16-20020adffb10000000b00207af881eb9mr12222935wrr.238.1656056131051; \n\tFri, 24 Jun 2022 00:35:31 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 24 Jun 2022 08:35:25 +0100",
        "Message-Id": "<20220624073528.26670-2-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220624073528.26670-1-naush@raspberrypi.com>",
        "References": "<20220624073528.26670-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 1/4] libcamera: controls: Add\n\tSensorTemperature control",
        "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>",
        "From": "Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Naushir Patuck <naush@raspberrypi.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Add a SensorTemperature control to return the temperature of the camera sensor\nin Celsius. This control will only be present in the Request metadata if a\nthermal sensor is available to the camera sensor.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/libcamera/control_ids.yaml | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex cd1d4512bf2e..ecab3ae97260 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -367,6 +367,16 @@ controls:\n \n       size: [2]\n \n+  - SensorTemperature:\n+      type: float\n+      description: |\n+        Temperature measure from the camera sensor in Celsius. This is typically\n+        obtained by a thermal sensor present on-die or in the camera module. The\n+        range of reported temperatures is device dependent.\n+\n+        The SensorTemperature control will only be returned in metadata if a\n+        themal sensor is present.\n+\n   - SensorTimestamp:\n       type: int64_t\n       description: |\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "1/4"
    ]
}