Show a patch.

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

{
    "id": 18161,
    "url": "https://patchwork.libcamera.org/api/patches/18161/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/18161/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20230119104544.9456-14-naush@raspberrypi.com>",
    "date": "2023-01-19T10:45:43",
    "name": "[libcamera-devel,v1,13/14] libcamera: camera_sensor: Add Sony IMX708 sensor properties",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "fb6d163db6019f9bb51f039ad9f22b7c2c8f33da",
    "submitter": {
        "id": 34,
        "url": "https://patchwork.libcamera.org/api/people/34/?format=api",
        "name": "Naushir Patuck",
        "email": "naush@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/18161/mbox/",
    "series": [
        {
            "id": 3715,
            "url": "https://patchwork.libcamera.org/api/series/3715/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3715",
            "date": "2023-01-19T10:45:30",
            "name": "Raspberry Pi: Camera Module 3 support",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3715/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/18161/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/18161/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 6B3DDC3295\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 19 Jan 2023 10:46:09 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2BA70625F4;\n\tThu, 19 Jan 2023 11:46:09 +0100 (CET)",
            "from mail-wm1-x330.google.com (mail-wm1-x330.google.com\n\t[IPv6:2a00:1450:4864:20::330])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 361E1625E4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 Jan 2023 11:46:02 +0100 (CET)",
            "by mail-wm1-x330.google.com with SMTP id j17so1187022wms.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 Jan 2023 02:46:02 -0800 (PST)",
            "from localhost.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tbe12-20020a05600c1e8c00b003db06224953sm5332029wmb.41.2023.01.19.02.46.00\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 19 Jan 2023 02:46:01 -0800 (PST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1674125169;\n\tbh=PqEtAk0godw7WtFgpTuUq79jP2p798y7UHj990pIgDU=;\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:Cc:\n\tFrom;\n\tb=iZhgsXwM/QXVgxHSrA7iOin7rT40a6IBzebjVJUUVxK1WymHvNq8Y8EhDrV7wUo+1\n\tSzQpnAuvhds+Z8HQiCl21UM7nKwRJGhFFGCEH2aGG1iy2EW7UleJxL4kQiVDC2j0Lf\n\tqR/ANOnTb489qlmh7Tf/wqIxCsYR/nX3ZFIAROARTHkBiw+cLbwzLD3jefWkgEuuHO\n\t7IP6DdVtNR4GPvrenN1W0NXop6PGQONpF+MjJulZhACqM+QVv1tAUe8nJ9M0t/TJ1J\n\tfFKs/uGtDGJMvt2Qs41Nxx1/5S7uzGG/PCl/ypqcAi1t5/ofQzmZQHRNMBOMn8lIxv\n\tfkD/Eh5fLQ6WA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=MTN+cFSunGF/5BszoECrkpH7JBcfkSleqCVVOcEdx6s=;\n\tb=kt8/VPphDYXU39W4aRrkRvpCFdIiZB8Vo2okrl7Y89TiFHhBSsfd4WWm7laThsFU9v\n\t4V9f0qXdQLKkGVJlfvQThGQcmqwN6YXoyYdfHx6u+cgRQzC+OArgxP9hjps8CRB9Wits\n\tJoPPZjaHCrJzrcwv5piaNQKtom7QVoISPL4k33VoJ0nfqBhcZSZnDX0+xuxCY3If7J5U\n\t6oayu9hvj+pK5dahhO5ziAMrJcknesf7EtgWMHNd2TeNzg2f7MOI8tfseAtxocl9888t\n\tbVwKERef51wjpTQw4mhFEzCjv0KhS6uLHf1Faq5moaFa8gcLNaUsqCVmGlT11VAEkOiZ\n\tgSiQ=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"kt8/VPph\"; dkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=MTN+cFSunGF/5BszoECrkpH7JBcfkSleqCVVOcEdx6s=;\n\tb=BEGNHwS1ktBr8KNZZKuMeAP77P3VrrWLk4ixbZsEMJOjW1KCQLk2PxO2IUEM6N5bOb\n\tofE6bKbnmMTR6pgahMhkx0jTWAijR6Cp/jYtyeUsleYEMWJ9A1x22jtBfFIPjQLK3hOL\n\tJgJtU3sOP6QnSCy4Ck/yrFGIlMmtorrMeTdkzZuN+ildQ9uogzFAvejDHmEBGllUgnEk\n\tEzF8m+FeQEi+PTumxYeK/FZUIHjD7K6ygAYURBJOtfWT2VKjE0UnFyxyy8mdCBuk1lxT\n\to5QGnF572tc7M/d2bbIMEclpXzn4TQDZkC4XyU8C7VpglhZ9UPkuanUUKh7vn5iO+7ZS\n\tNzoQ==",
        "X-Gm-Message-State": "AFqh2ko7UIQxZ/0ugrRfsKlUttB8jcUKrxN9YSeHES4kJuR3Jesm2/KE\n\tQ/e3Qc9hG4QipZLzGSXmWkcbpBkObnxGDzLk3sE=",
        "X-Google-Smtp-Source": "AMrXdXt5noD1uPgQLtWYrWIXbFplWvZgDVsp44C+nmIfvqZ5SwPMf8jZjmVe8VIA0/9ucbAarRelrw==",
        "X-Received": "by 2002:a05:600c:3545:b0:3c6:e60f:3f4a with SMTP id\n\ti5-20020a05600c354500b003c6e60f3f4amr9827370wmq.1.1674125161452; \n\tThu, 19 Jan 2023 02:46:01 -0800 (PST)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 19 Jan 2023 10:45:43 +0000",
        "Message-Id": "<20230119104544.9456-14-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230119104544.9456-1-naush@raspberrypi.com>",
        "References": "<20230119104544.9456-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v1 13/14] libcamera: camera_sensor: Add\n\tSony IMX708 sensor properties",
        "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>",
        "Cc": "Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "From: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>\n\nThe IMX708 sensor driver advertises its module variants (narrow/wide angle lens,\nIR block/pass) by modifying the media entity name string. So add duplicate\nentries for each variant.\n\nSigned-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/camera_sensor_properties.cpp | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)",
    "diff": "diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp\nindex c3c2caced906..3afd500ea3be 100644\n--- a/src/libcamera/camera_sensor_properties.cpp\n+++ b/src/libcamera/camera_sensor_properties.cpp\n@@ -123,6 +123,22 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen\n \t\t\t\t */\n \t\t\t},\n \t\t} },\n+\t\t{ \"imx708\", {\n+\t\t\t.unitCellSize = { 1400, 1400 },\n+\t\t\t.testPatternModes = {},\n+\t\t} },\n+\t\t{ \"imx708_noir\", {\n+\t\t\t.unitCellSize = { 1400, 1400 },\n+\t\t\t.testPatternModes = {},\n+\t\t} },\n+\t\t{ \"imx708_wide\", {\n+\t\t\t.unitCellSize = { 1400, 1400 },\n+\t\t\t.testPatternModes = {},\n+\t\t} },\n+\t\t{ \"imx708_wide_noir\", {\n+\t\t\t.unitCellSize = { 1400, 1400 },\n+\t\t\t.testPatternModes = {},\n+\t\t} },\n \t\t{ \"ov2740\", {\n \t\t\t.unitCellSize = { 1400, 1400 },\n \t\t\t.testPatternModes = {\n",
    "prefixes": [
        "libcamera-devel",
        "v1",
        "13/14"
    ]
}