get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2229467,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229467/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/6558b4e914d6de3353af2728016b17e3736d4a6d.1777368885.git.weijie.gao@mediatek.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<6558b4e914d6de3353af2728016b17e3736d4a6d.1777368885.git.weijie.gao@mediatek.com>",
    "date": "2026-04-28T09:39:26",
    "name": "[v2,3/7] mtd: spi-nor-ids: Add support for GigaDevice GD25Q256",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "53858d2e37593dbc61f8b58b4b6b9ed03c9039e7",
    "submitter": {
        "id": 75269,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/75269/?format=api",
        "name": "Weijie Gao",
        "email": "weijie.gao@mediatek.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/6558b4e914d6de3353af2728016b17e3736d4a6d.1777368885.git.weijie.gao@mediatek.com/mbox/",
    "series": [
        {
            "id": 501807,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501807/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501807",
            "date": "2026-04-28T09:39:06",
            "name": "Fix and add some spi-nor flash parts (v2)",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/501807/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229467/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229467/checks/",
    "tags": {},
    "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 (1024-bit key;\n unprotected) header.d=mediatek.com header.i=@mediatek.com header.a=rsa-sha256\n header.s=dk header.b=NC3dvYXo;\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=quarantine dis=none) header.from=mediatek.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=mediatek.com header.i=@mediatek.com\n header.b=\"NC3dvYXo\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=mediatek.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=weijie.gao@mediatek.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 4g4b541jkqz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 19:40:08 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 7421A8464E;\n\tTue, 28 Apr 2026 11:39:42 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 2C20784668; Tue, 28 Apr 2026 11:39:40 +0200 (CEST)",
            "from mailgw01.mediatek.com (unknown [60.244.123.138])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id B8BFE845C8\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 11:39:37 +0200 (CEST)",
            "from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by\n mailgw01.mediatek.com (envelope-from <weijie.gao@mediatek.com>)\n (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256)\n with ESMTP id 229475851; Tue, 28 Apr 2026 17:39:31 +0800",
            "from mtkmbs13n1.mediatek.inc (172.21.101.193) by\n MTKMBS09N1.mediatek.inc (172.21.101.35) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.2562.29; Tue, 28 Apr 2026 17:39:28 +0800",
            "from mcddlt001.gcn.mediatek.inc (10.19.240.15) by\n mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id\n 15.2.2562.29 via Frontend Transport; Tue, 28 Apr 2026 17:39:27 +0800"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS,\n UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2",
        "X-UUID": [
            "287a93d042e611f19781c1a04af40193-20260428",
            "287a93d042e611f19781c1a04af40193-20260428"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=mediatek.com;\n s=dk;\n h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From;\n bh=iHfDiA+lCewCchj70vX/vemmnQNpUp3waBIhvarbvgk=;\n b=NC3dvYXoe7JG+koymPbLmz+6n26eKmdYmPypvcbHBVSdxN8TMhYSx1BHvjgV885hzGN05ylXDvtxXJRDk5DVurpUr4LUMjHEMUXQGuvNfTO4pxIOmyVYHOtFlie7n/YQgGetiK0RhAdXsrnDQJm3HL4YTGtwsaDQMZCEKZg1h+Y=;",
        "X-CID-P-RULE": "Release_Ham",
        "X-CID-O-INFO": "VERSION:1.3.12, REQID:6bf383e2-2c02-4a4b-bb1f-9b9b4c798d0f,\n IP:0,\n U\n RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION\n :release,TS:-5",
        "X-CID-META": "VersionHash:e7bac3a, CLOUDID:ff47a370-3b7f-4b26-b2f9-40f0deecb36d,\n B\n ulkID:nil,BulkQuantity:0,Recheck:0,SF:81|82|102|836|865|888|898,TC:-5,Cont\n ent:0|15|50,EDM:-3,IP:nil,URL:99|1,File:130,RT:0,Bulk:nil,QS:nil,BEC:-1,CO\n L:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0",
        "X-CID-BVR": "2,SSN|SDN",
        "X-CID-BAS": "2,SSN|SDN,0,_",
        "X-CID-FACTOR": "TF_CID_SPAM_SNR,TF_CID_SPAM_ULS",
        "X-CID-RHF": "D41D8CD98F00B204E9800998ECF8427E",
        "From": "Weijie Gao <weijie.gao@mediatek.com>",
        "To": "<u-boot@lists.denx.de>",
        "CC": "GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>, Tom Rini\n <trini@konsulko.com>, Vignesh R <vigneshr@ti.com>, Takahiro Kuwano\n <takahiro.kuwano@infineon.com>, Marek Vasut\n <marek.vasut+renesas@mailbox.org>, Tudor Ambarus <tudor.ambarus@linaro.org>,\n Jeffrey Yu <jeyu@issi.com>, Christoph Reiter <christoph.reiter@evk.biz>,\n Miquel Raynal <miquel.raynal@bootlin.com>, Shiji Yang\n <yangshiji66@outlook.com>, Bernhard Messerklinger\n <bernhard.messerklinger@at.abb.com>, Vaishnav Achath <vaishnav.a@ti.com>,\n Prasad Kummari <prasad.kummari@amd.com>, Weijie Gao <weijie.gao@mediatek.com>",
        "Subject": "[PATCH v2 3/7] mtd: spi-nor-ids: Add support for GigaDevice GD25Q256",
        "Date": "Tue, 28 Apr 2026 17:39:26 +0800",
        "Message-ID": "\n <6558b4e914d6de3353af2728016b17e3736d4a6d.1777368885.git.weijie.gao@mediatek.com>",
        "X-Mailer": "git-send-email 2.17.0",
        "In-Reply-To": "<cover.1777368885.git.weijie.gao@mediatek.com>",
        "References": "<cover.1777368885.git.weijie.gao@mediatek.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MTK": "N",
        "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": "This flash is tested on MediaTek's filogic platform.\n\nThe datasheet can be found here:\nhttps://download.gigadevice.com/Datasheet/DS-00526-GD25Q256E-Rev1.3.pdf\n\nSigned-off-by: Weijie Gao <weijie.gao@mediatek.com>\n---\nv2: updated commit message\n---\n drivers/mtd/spi/spi-nor-ids.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c\nindex fcc546fb5ae..8b74fbd4946 100644\n--- a/drivers/mtd/spi/spi-nor-ids.c\n+++ b/drivers/mtd/spi/spi-nor-ids.c\n@@ -147,6 +147,11 @@ const struct flash_info spi_nor_ids[] = {\n \t\t\tSECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |\n \t\t\tSPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)\n \t},\n+\t{\n+\t\tINFO(\"gd25q256\", 0xc84019, 0, 64 * 1024, 512,\n+\t\t\tSECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |\n+\t\t\tSPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)\n+\t},\n \t/* adding these 3V QSPI flash parts */\n \t{INFO(\"gd25b256\", 0xc84019, 0, 64 * 1024, 512,\tSECT_4K |\n \tSPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)\t},\n",
    "prefixes": [
        "v2",
        "3/7"
    ]
}