{"id":16334,"url":"https://patchwork.libcamera.org/api/1.1/covers/16334/?format=json","web_url":"https://patchwork.libcamera.org/cover/16334/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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-1-naush@raspberrypi.com>","date":"2022-06-23T14:44:07","name":"[libcamera-devel,0/3] Add SensorTemperature control","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/1.1/people/34/?format=json","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/16334/mbox/","series":[{"id":3212,"url":"https://patchwork.libcamera.org/api/1.1/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/covers/16334/comments/","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 B47A5BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 23 Jun 2022 14:44:27 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D071B65639;\n\tThu, 23 Jun 2022 16:44:26 +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 19C6E6048F\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.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 23 Jun 2022 07:44:23 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655995466;\n\tbh=riWLM9meJmG4+c+zuRRqdUmkZ7Ac7L9zIQGt+sZNAsA=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=lZAjUbZhGkFcezVQWkRnbS2w3XAQ0TQh+ILEzho/Mt6bIHzCU0I2KezQ5AYN8+GEB\n\tFupvO4YQjrIwFYp7GqHVrnZkKn2jnKUiZvVYlBBipgAoJXJAQsk8VmvLFbHbkyvSRk\n\tRdzOUyn/JsR/F2ViWy34rnU8rQKhDUqfRz9Bao3je0QX882FHXGBeIDZiT4rzZ/TdP\n\t074JekaxmMTJ0LJSWOumiY2N2YEN3CYZpEmohjYsBFmmeoGlLfJl4CbSABQ56XM8Hm\n\tH3bcyG/CTvMadnf5K5fE846Vm2H9y23Duq0Ig60/oC0e5KBxoZbSgt7GHv0LHeuVYl\n\thLwtSWjwVAzdA==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=JQZkr3Ew2N5XNpk6W1gYAzEpv4/R66avA+dkucpMcYs=;\n\tb=JS6hRSriXZY5N21lN2m8l5HurMnkjTXwHmyNTDvJYwpV45Xt8rUVKmyK55n1MjdBh6\n\ternebW0kAHNtfZc9hsTytDlMx7zxlqigjKjUGYVY8sDuYYA9N0DSDW6eYeRezyvYeQ3R\n\t9Eul85e1HC3iuRbJZ3LOSp856/rr5AVoxBRJWw+iie29O+j4hkie8LEj4dwMNKLS3hbK\n\tG6598hrHhpf0illnnMMmYW+do3BkDPgwFeRVQvz7y87hXl2cIh5d6MWg/2u/5puJjvDP\n\t3WNkzh/P+JF6UDdXELtmbTvsCIN75vOmXNVabWmqaMcSI/dnN+5PLTzfisvfPVHBQGFQ\n\tdKEQ=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"JS6hRSri\"; 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:mime-version\n\t:content-transfer-encoding;\n\tbh=JQZkr3Ew2N5XNpk6W1gYAzEpv4/R66avA+dkucpMcYs=;\n\tb=uJsuaKUxtu+hYOwmfGTDSiYLRHqksWdI3I6NWS8ltHpyZF9gBJqkyMgL6JCLlgq/ny\n\tps7o/3kZLVwOjirR42lPoVzFb0390VD5RqdEmoqBDGrZZwU/f31TorjHq8u+6oLSBkti\n\t7sv9tPAoWVf5ZE+pyRkEFI8rOKDOQAfQjFVB4yHiavIWKf1eu9IZfI1LCokP+KCQEIgy\n\t0vywEdTv1XK8f+Z+wIe7PzM8lr194BcCuSVaoRXfQxC7BkZUIj6i0RLCJrnUx8omvKfi\n\tXgQp0/alxXLbfVjbA4y7KNJx7XLUzwyETlsPioGvxkwc1z44TSYzJZB4E0KFcZo5qwyB\n\tFqXw==","X-Gm-Message-State":"AJIora8462xKiYRqpxM6S7rabvhlvJKfZGQoclkf3R5cdxV5DyDQsYuO\n\tSlGrnA/vsAzM31qdYkcQDsYWQH2/xPHQlsx+","X-Google-Smtp-Source":"AGRyM1vFJChXiPti5UrjKgY6l4wG1BIISbGxJT4K7ZNPGf+eOeI5BFh02HVDBy1jOhgK45icjOseJQ==","X-Received":"by 2002:adf:e9c5:0:b0:21b:981a:f61f with SMTP id\n\tl5-20020adfe9c5000000b0021b981af61fmr8810824wrn.227.1655995464427; \n\tThu, 23 Jun 2022 07:44:24 -0700 (PDT)","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 23 Jun 2022 15:44:07 +0100","Message-Id":"<20220623144410.20725-1-naush@raspberrypi.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/3]  Add SensorTemperature 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":"Hi,\n\nThis series adds a sensor temperature metadata control to libcamera.  This\ncontrol is returned out through Request metadata when available.  There is an\nopen PR [1] to enable the temperature sensor on the imx477 on the Raspberry Pi\nplatforms.\n\nAt present, there is no mechanism in V4L2 to return the temperature from the\nsensor device driver, so we rely on the embedded data to fetch the values every\nframe.\n\nThanks,\nNaush\n\n[1] https://github.com/raspberrypi/linux/pull/5067\n\nNaushir Patuck (3):\n  libcamera: controls: Add SensorTemperature control\n  ipa: raspberrypi: Add sensor temperature to DeviceStatus\n  ipa: raspberrypi: imx477: Get sensor temperature from embedded data\n\n src/ipa/raspberrypi/cam_helper.cpp               |  7 ++++---\n src/ipa/raspberrypi/cam_helper_imx477.cpp        |  5 ++++-\n src/ipa/raspberrypi/controller/device_status.cpp |  3 +++\n src/ipa/raspberrypi/controller/device_status.h   |  4 +++-\n src/ipa/raspberrypi/raspberrypi.cpp              |  2 ++\n src/libcamera/control_ids.yaml                   | 10 ++++++++++\n 6 files changed, 26 insertions(+), 5 deletions(-)"}