{"id":16335,"url":"https://patchwork.libcamera.org/api/patches/16335/?format=json","web_url":"https://patchwork.libcamera.org/patch/16335/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20220623144410.20725-2-naush@raspberrypi.com>","date":"2022-06-23T14:44:08","name":"[libcamera-devel,1/3] 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/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/16335/mbox/","series":[{"id":3212,"url":"https://patchwork.libcamera.org/api/series/3212/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3212","date":"2022-06-23T14:44:07","name":"Add SensorTemperature control","version":1,"mbox":"https://patchwork.libcamera.org/series/3212/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16335/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16335/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 9FDFBBE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 23 Jun 2022 14:44:29 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 15F466563D;\n\tThu, 23 Jun 2022 16:44:28 +0200 (CEST)","from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com\n\t[IPv6:2a00:1450:4864:20::42e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B3FDC6048F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 23 Jun 2022 16:44:25 +0200 (CEST)","by mail-wr1-x42e.google.com with SMTP id i10so24523542wrc.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 23 Jun 2022 07:44:25 -0700 (PDT)","from naush-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tv21-20020a05600c15d500b0039c96b97359sm3178578wmf.37.2022.06.23.07.44.24\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 23 Jun 2022 07:44:24 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655995468;\n\tbh=2g8qfZ/BzIF6vOv5vlNCQq8m7DZEPOZH02d8b4AMRqM=;\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=rS/3arwTfRJOTjMN7Oo5elslkZ0+90cLd497R0X3ixymeaOJCkY5IiRqV4DtfWneG\n\tD4m6BT0/oe9HxJV2/0ntn2Zm77wlWEvCckm1WEUWKVJldNc/JkNv9ryE3b5KKhg8e4\n\tGEZqBJIa5cwOGSvspXrEOHodLKveDihZ7CMv1gwucvbdHmQnV18Q/RBgR31BqTubkd\n\tYksTeu8b5EcLHpSzLHxe87CnRd1dnXJ45ZYUiQga34T5oQL4QN2dJ4GRRsL/avPfVA\n\tyMZM5oym1ROQX0jjvrW/Wxpchwa2G7SkB6ZGli0h6/ydKtDqsJBs+OZT43G7lxG2x/\n\tlHgz15aQPmx6A==","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=HIaOx4I+brmBYzrNODHpznjH6x8JPYnEK2PGNcsYeKM=;\n\tb=RSXgyp54qNv2iJ4n99VcCMe4DNZQakKixLzfAgVJLV82Lz4tkVsSfbNvB3vQec/pzt\n\tRwMNLX5TDb/Dq1IwEw5OpvLDhnaCl3PhpuJ/otsrWgr2MGJA88HeSU8z+lPsdlobj4Lb\n\tTl4JzpGi9zeucY5IkwJPDi/LASOoKudPI17OodTlU+4tmSMoJMmNVDwZ27EYLdAlcOrp\n\taKe+VKJ1IoZKw7/bHJAoRN8LtRGSoJ2A7xaTD5f2yXNsgguwLb+/KEonTfYYQLk7ln/J\n\tSf63iU1SL4O2K0fFIKxjRZ+oRRyTLbWM4bXUE4HhFLIN9NkHyflE1TQihDXHcVlfgBW5\n\tCLcg=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"RSXgyp54\"; 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=HIaOx4I+brmBYzrNODHpznjH6x8JPYnEK2PGNcsYeKM=;\n\tb=IMes326pwlnqUuIn6WoLN/kS+JgKzf3179sELnNpq8LgvF/+kHmWBUX6BrdGNTH50Q\n\tD4+4jBDLZcU7ySadRjBWnfbAnvBX5nU6ld0ujWX/AQssARiAXHuLmNdMrCWIOicEY2Nu\n\tXKACwkCNE5kE8fSy7QSF4/UZspJa/31yh+Ac9VSAUntQ/koIXA1ulSnwsqM7u6BxXXJV\n\tNgIwKQC2YRr03+X53gsuHGJI5VM6Cwq99rgo2ZsFdfgAe31Bp3NP+7POj0a950P6CNKu\n\tqin15I7QaCrzmN4DBblx8wme4P5rhXIrxA1Q+jX7VF18TTmKf5gh5QQ5w0CxevtIsuNm\n\t7/CA==","X-Gm-Message-State":"AJIora/WQLABslvmaoueiYGtJCPWYnqNlD/JvQ9SMxyQfUioz2o0d3DU\n\tgEdXU/v0lS2bNsySqyYU03P+ZG4+oTvYZniX","X-Google-Smtp-Source":"AGRyM1terWBCEQcu/U5wgXtogkrEUWi8ImWNWhBPNQckGDHVPmePkLddFydMuQ/NGvDvViDkpXvnsA==","X-Received":"by 2002:a05:6000:1f82:b0:21b:9241:a65b with SMTP id\n\tbw2-20020a0560001f8200b0021b9241a65bmr9034740wrb.42.1655995465271; \n\tThu, 23 Jun 2022 07:44:25 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 23 Jun 2022 15:44:08 +0100","Message-Id":"<20220623144410.20725-2-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20220623144410.20725-1-naush@raspberrypi.com>","References":"<20220623144410.20725-1-naush@raspberrypi.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 1/3] 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>\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","1/3"]}