get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194415,
    "url": "http://patchwork.ozlabs.org/api/patches/2194415/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260208212624.3413494-6-festevam@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260208212624.3413494-6-festevam@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-08T21:26:22",
    "name": "[v2,5/7] rockchip: spl-boot-order: Add SPI NAND support",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "c865c03b380da66e5d44d8b89347bf1c965f7978",
    "submitter": {
        "id": 6978,
        "url": "http://patchwork.ozlabs.org/api/people/6978/?format=api",
        "name": "Fabio Estevam",
        "email": "festevam@gmail.com"
    },
    "delegate": {
        "id": 93623,
        "url": "http://patchwork.ozlabs.org/api/users/93623/?format=api",
        "username": "kevery",
        "first_name": "Kever",
        "last_name": "Yang",
        "email": "ykai007@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260208212624.3413494-6-festevam@gmail.com/mbox/",
    "series": [
        {
            "id": 491441,
            "url": "http://patchwork.ozlabs.org/api/series/491441/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=491441",
            "date": "2026-02-08T21:26:17",
            "name": "ARM: Add RV1103B Omega4 board support",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/491441/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194415/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194415/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=adB2Jlpf;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"adB2Jlpf\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=festevam@gmail.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f8LWg0T4Vz1xvc\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 09 Feb 2026 08:27:27 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B583783C39;\n\tSun,  8 Feb 2026 22:26:51 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id CB92D83642; Sun,  8 Feb 2026 22:26:50 +0100 (CET)",
            "from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com\n [IPv6:2607:f8b0:4864:20::1134])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id B2A4683C72\n for <u-boot@lists.denx.de>; Sun,  8 Feb 2026 22:26:48 +0100 (CET)",
            "by mail-yw1-x1134.google.com with SMTP id\n 00721157ae682-794719afcd4so37767407b3.1\n for <u-boot@lists.denx.de>; Sun, 08 Feb 2026 13:26:48 -0800 (PST)",
            "from fabio-Precision-3551..\n ([2804:14c:485:4b61:5d9f:efd7:6c6a:abf8])\n by smtp.gmail.com with ESMTPSA id\n 00721157ae682-7952a085999sm75229377b3.25.2026.02.08.13.26.45\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 08 Feb 2026 13:26:47 -0800 (PST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770586007; x=1771190807; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=Ya93lKbsIxieelUQDrnwsSCtIM9ozIqJ3AD1Zsj5PpY=;\n b=adB2Jlpflz78qnPE2AA0sa/J2gNOAku6TlJJgDPv8iHoiXciaX9lbxoezWttfXGg0i\n S0btmM0gNgf00vdpfLiAdu+OSKBJbc3NWOIgSLvfIiNAE2W7R14lu1RFSB8yCTMN+FQS\n jxmqkOtifbGLuwjCmFxaR7031gnQapDNL27f+TosJWKLIFEOg8MtZ9D0q3ztBRyqQxpy\n 51JFwyvDWxOYgaj4WzuLmY+4wrazilrUtyjy6D+yfeDGGc9hYn1nEAeogMlLzCnbsyVE\n T67MTs5Vdw8NQL8y+vlU0YeqpEZ8Y8Wu15hOzw38XV7QNtt98egMk2RuYIysSDBbpVO3\n 9XEg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770586007; x=1771190807;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=Ya93lKbsIxieelUQDrnwsSCtIM9ozIqJ3AD1Zsj5PpY=;\n b=v7Xz2/e16PlwhfBYvcZReqjUQx6e61UDFAE/KSnZI4k+Ga/XGG4Voiro76k1moCDv7\n 1EAjScPnOkpFBSIw8YB2NAm1N7u4Jbhn5gXinaxVyrTM2HdA4u8+k5h1XhFPjsFnLqzR\n mICyY26CPepvS662fmB+8ynAOOJu+vMyyGkk+2wVcJ8a5uM1KwEb88omtYxK2dZqaK9f\n uWZV3cVVcl2jInNRi3mG9sA2HCeOFb0oG1WoGA6RzjDweDdcRhFwLdkqrJ10yPi9QVH9\n uMEgKI2100kLuqd0o8R1iARTdYI1PH1A18Rl/2HwADBC8k2NkpddS5YRMq9SPVLWnhlb\n eyaw==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCVja4BNO7gSOeLCvCPNoUpw5NzKovJU0ezHFDI63/VRwJ3lbxx9tehFwHjMY7gAeIY0d+d8HqQ=@lists.denx.de",
        "X-Gm-Message-State": "AOJu0Yw8UMwbB6XuEOz0y3134KvtCig1se4QeZZPBvV4SLFJx8sXEpi+\n 9ZFmNbd+D5cc2E18C70wIY3JeNmmqMKXnH/NeuaUpY2Izxn3weYCTcJ9",
        "X-Gm-Gg": "AZuq6aJhNpGgt7eIIcrt/u0B+vnKyywL8GZxG4rVhSUiyTdPSClB3bC+IRV4Fbspmpy\n Gqw7oLxviB32hY8MPEYXKsGWvg1zj0+efGbh9KEtCkz4kVvLgi/zVN9jIOA7GuvdSbZ794tqJZq\n W6QNPDAn8lKE2U+D+5H447kHN9PpHAEL9y/l2eEDde7QKismOELVAFdhPWU/2/OhHMt7p2Aj3p5\n TOnj+/GRd2zbzDOz7HHPoHJdWNpaEIaxOjQsohwgW8Z5ckVodWth/rOoVI1w0m8Slr//SXSiTqC\n RTwEh63ulqlT+Dr/tX/utMaFrwGBMz4iyuHu2+ow1jo7LXr0TgDZ7HTMgcXeaHyE3PWhOghnMt5\n 7fzavyoCcQeJamvhRnSGi+bAl/ArAIwpyExE+3KA1u9dvRipIN+wSA5y6eKyRFQYt5aYcDQB/Mm\n cHFDKYDISYtCRNPSc3XsNuNQkW",
        "X-Received": "by 2002:a05:690c:39c:b0:794:215:d575 with SMTP id\n 00721157ae682-7952ab5a3c6mr88216257b3.56.1770586007498;\n Sun, 08 Feb 2026 13:26:47 -0800 (PST)",
        "From": "Fabio Estevam <festevam@gmail.com>",
        "To": "kever.yang@rock-chips.com",
        "Cc": "trini@konsulko.com, jonas@kwiboo.se, u-boot@lists.denx.de,\n Fabio Estevam <festevam@nabladev.com>",
        "Subject": "[PATCH v2 5/7] rockchip: spl-boot-order: Add SPI NAND support",
        "Date": "Sun,  8 Feb 2026 18:26:22 -0300",
        "Message-Id": "<20260208212624.3413494-6-festevam@gmail.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260208212624.3413494-1-festevam@gmail.com>",
        "References": "<20260208212624.3413494-1-festevam@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "From: Fabio Estevam <festevam@nabladev.com>\n\nMake spl-boot-order to accept boot from SPI NAND as well.\n\nWith this change, it is possible to specify spi_nand\nas the boot medium like this:\n\nu-boot,spl-boot-order = &spi_nand;\n\nSigned-off-by: Fabio Estevam <festevam@nabladev.com>\n---\nChanges since v1:\n- None.\n\n arch/arm/mach-rockchip/spl-boot-order.c | 11 +++++++++--\n 1 file changed, 9 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c\nindex 6572dde29f65..e5897536934a 100644\n--- a/arch/arm/mach-rockchip/spl-boot-order.c\n+++ b/arch/arm/mach-rockchip/spl-boot-order.c\n@@ -4,6 +4,7 @@\n  */\n \n #include <dm.h>\n+#include <dm/device_compat.h>\n #include <fdt_support.h>\n #include <log.h>\n #include <mmc.h>\n@@ -75,6 +76,8 @@ static int spl_node_to_boot_device(int node)\n \t */\n \tif (!uclass_find_device_by_of_offset(UCLASS_SPI_FLASH, node, &parent))\n \t\treturn BOOT_DEVICE_SPI;\n+\tif (fdt_node_check_compatible(gd->fdt_blob, node, \"spi-nand\") == 0)\n+\t\treturn BOOT_DEVICE_SPI;\n \n \treturn -1;\n }\n@@ -221,8 +224,12 @@ int spl_decode_boot_device(u32 boot_device, char *buf, size_t buflen)\n \n \t\t\tret = uclass_find_device_by_of_offset(UCLASS_SPI_FLASH, node, &dev);\n \t\t\tif (ret) {\n-\t\t\t\tdebug(\"%s: could not find udevice for %s\\n\", __func__, conf);\n-\t\t\t\tcontinue;\n+\t\t\t\tret = uclass_find_device_by_of_offset(UCLASS_MTD, node, &dev);\n+\t\t\t\tif (ret || !device_is_compatible(dev, \"spi-nand\")) {\n+\t\t\t\t\tdebug(\"%s: could not find udevice for %s\\n\",\n+\t\t\t\t\t      __func__, conf);\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n \t\t\t}\n \n \t\t\treturn ofnode_get_path(dev_ofnode(dev), buf, buflen);\n",
    "prefixes": [
        "v2",
        "5/7"
    ]
}