get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196450,
    "url": "http://patchwork.ozlabs.org/api/patches/2196450/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260214010608.116226-1-wuweimin@huaqin.corp-partner.google.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260214010608.116226-1-wuweimin@huaqin.corp-partner.google.com>",
    "list_archive_url": null,
    "date": "2026-02-14T01:06:08",
    "name": "[RESEND] mtd: spi-nor: gigadevice: add support for GD25LQ255E",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a0590c06393ab51423bf069c41b157c15c380f1a",
    "submitter": {
        "id": 92637,
        "url": "http://patchwork.ozlabs.org/api/people/92637/?format=api",
        "name": "Weimin Wu",
        "email": "wuweimin@huaqin.corp-partner.google.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260214010608.116226-1-wuweimin@huaqin.corp-partner.google.com/mbox/",
    "series": [
        {
            "id": 492151,
            "url": "http://patchwork.ozlabs.org/api/series/492151/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=492151",
            "date": "2026-02-14T01:06:08",
            "name": "[RESEND] mtd: spi-nor: gigadevice: add support for GD25LQ255E",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492151/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196450/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196450/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "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 secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=cQmITQts;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com\n header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com\n header.a=rsa-sha256 header.s=20230601 header.b=emf0qWA7;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fCW8L4G7Tz1xvS\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 12:06:38 +1100 (AEDT)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vr473-000000046kW-239Y;\n\tSat, 14 Feb 2026 01:06:21 +0000",
            "from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vr470-000000046jf-1QJ4\n\tfor linux-mtd@lists.infradead.org;\n\tSat, 14 Feb 2026 01:06:19 +0000",
            "by mail-pf1-x431.google.com with SMTP id\n d2e1a72fcca58-8220bd582ddso797226b3a.2\n        for <linux-mtd@lists.infradead.org>;\n Fri, 13 Feb 2026 17:06:17 -0800 (PST)",
            "from ubuntu2404.huaqin.com ([103.117.77.120])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-824c6bb55adsm3757843b3a.62.2026.02.13.17.06.14\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Fri, 13 Feb 2026 17:06:16 -0800 (PST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=jX54VAF/kkE+7i191hI/3RvSCffwdQxUekgaDsv4YaI=; b=cQmITQts6y8nYv\n\t30ShpXWBq/HljRPEcLlXzLGsMB59omF/4iiHcPfQBq1969aRVqLeRuTKJcNvKNs4djFB7b/dE7oob\n\t8kmz51fC1BOdRUEq3yJmKoKk+o/aC1RWAubaU7U/Wqitt78TjjD5Wu24EklVyb+bwzK5mipBgX2t7\n\toIGr85ak7woNnl2uvWCFID5QuhUi+5VPeE0qhgrj97ObbDH7LXOSB53lTKLJuTMrG+4wnWYKp9VaH\n\t6ku8X4x8/6CBoTuC4o0p2ZThxmvUEjiiQhNkEqt7Ul6ykPvbMcPnqpDjHUdDv1sYe3yB6M5Fni59Q\n\tXsqXWiXEkJJxYG2CuhdA==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601;\n t=1771031177; x=1771635977; darn=lists.infradead.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=i4TERTZEfw2ao4mNycWjP5pqv35fCyvygFnss7HI/Yk=;\n        b=emf0qWA7GUHXC4luUhulbCPgQaEo34lAsSWAu5D0JyXdC0gY+4YHqoj6aK9EjJu/lS\n         jkZybXDIjxnlvHIFykOyC7SMlq5m446wrw3w91jpSwinV4UJpgWhPEgvAaTVCDNczHZb\n         u3/yeG1hzWByCEZv15WoVY1LQmPd9UrribnXh9/VICWtpq+YS4kqVo7+tEsyhpI8RrKe\n         32RcSr7QWIkxmFtjTvPRh7Z7H/REs34UIxaO0a2auY8YN5o1LJrQ3RebSLI809WZDuWV\n         XXU+N517pbr+lKFS/LOoifMUp49PrnEfaqqRoykbCiCkGCiEM3qx4q6hlRFf65SAxR3X\n         13sw=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1771031177; x=1771635977;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=i4TERTZEfw2ao4mNycWjP5pqv35fCyvygFnss7HI/Yk=;\n        b=sk1p0ooWTraH7CS6Iyu/vAmfCOo7gNy6F8Z5kCJ2hbJZJfaJl1NwwnY+4ZredLaAmy\n         ILkBoADx4ysdJ+yEA/27qCgH+a7b557sUiWLy5E39Ozp/lAtfpfdfSqtKIGwRmIwK1wt\n         NrrNrGZ5+Uh5Gaz7/ze77/HcytuSfC+ASro+l7XT5OKa0Fx2tY9R0ok0aaNT2qsiwkWa\n         xR6XM57JjVU08z69fnBds7SrUm6eCvQ5nA6C+oIA/O9Z7zYJ1dudXXY3CngLXOlKOfMu\n         nXs3jpO+tqZlQJWksHFO0Rxo+E4UZrhXg4dM8hIMN0q1vp3oUJOL1xbfHYnIbZj8y7HT\n         SHhA==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCVxg8AUnqOU1ns4hRCW+bNCiDbQYi8XnzRW0Ezd+ox7vCxWWB8GQcihl/XKFkw46ysElMWcX3kLspE=@lists.infradead.org",
        "X-Gm-Message-State": "AOJu0Yx75WtLoe3j7urpWirBPFvN+6+SaV5rlxoVVxHFbKPLOq4rzy2b\n\tbDyuVVk+stumitaGx0XPelxmNUiooIzCXbntdEcAIVbaHsS4dzhwZCu2B1K0ZquWLvDMVEo1YJa\n\tNJokypJiwZg==",
        "X-Gm-Gg": "AZuq6aLmBSJpiz5yI8ccF4zM7ERhVz9Db8dqNa5GFtJkQWWnf9dPwiBCUGp4gXXiCvE\n\t81+W78g33WE7NzYe6AmZx5pKzKj8kGud56HeG8dQQ+3f0xehbTpw3k+mPQvXVq6mTVYpsUobpZi\n\teCbxnmpvRJpEH2D0BlzyegWw6U9QF+KZ4N7YFGzECJUWPG4GYi3s3chaLKBqEj6RZtg8GyaiYsX\n\thjsIOA6EjUmdj/xiPwMHEyrTG+WR7FXSQosch6cAwWdVDiskocffbmvJg1g7J9geY8ZjscnOZ0W\n\t45NKE2Gipgm1hnlu8XcwnIJzpPIzambSa8XgcyFj+ByQnDkHffxqTXLBqTJ0S79Mz91ZIpCDuuV\n\tpKgJ22ITKHUrEtEUcFhVKp4VTkeyC1KZzz4D1DspPkKE6iiW4nENh1OysNQFbBhybf6+WQwe/Rq\n\tYsm89BdGnPKNg54WQktTzEhE8MrB1nn0S4y9xyjr2J2ORvB44tT15y+KT/ElTBJ8Y=",
        "X-Received": "by 2002:a05:6a00:3d48:b0:823:cbb:a484 with SMTP id\n d2e1a72fcca58-824c94e7cfcmr3398022b3a.14.1771031177288;\n        Fri, 13 Feb 2026 17:06:17 -0800 (PST)",
        "From": "Weimin Wu <wuweimin@huaqin.corp-partner.google.com>",
        "To": "takahiro.kuwano@infineon.com",
        "Cc": "tudor.ambarus@linaro.org,\n\tpratyush@kernel.org,\n\tmwalle@kernel.org,\n\tlinux-mtd@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tWeimin Wu <wuweimin@huaqin.corp-partner.google.com>",
        "Subject": "[PATCH RESEND] mtd: spi-nor: gigadevice: add support for GD25LQ255E",
        "Date": "Sat, 14 Feb 2026 09:06:08 +0800",
        "Message-ID": "<20260214010608.116226-1-wuweimin@huaqin.corp-partner.google.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260213_170618_622988_A1513A58 ",
        "X-CRM114-Status": "UNSURE (   9.28  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-1.9 (-)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  gd25lq255e is similar with gd25lq256d,\n has 32MB of total capacity.\n    It support Quad Page Program which mean programming the memory using four\n    pins: IO0, IO1, IO2,\n and IO3. Signed-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com>    \n Content analysis details:   (-1.9 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/, no\n                             trust\n                             [2607:f8b0:4864:20:0:0:0:431 listed in]\n                             [list.dnswl.org]\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "gd25lq255e is similar with gd25lq256d, has 32MB of total capacity.\nIt support Quad Page Program which mean programming the memory using\nfour pins: IO0, IO1, IO2, and IO3.\n\nSigned-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com>\n\n---\n/ # cat /sys/bus/spi/devices/spi0.0/spi-nor/partname\ngd25lq256d\n\n/ # cat /sys/bus/spi/devices/spi0.0/spi-nor/manufacturer\ngigadevice\n\n/ # cat /sys/bus/spi/devices/spi0.0/spi-nor/jedec_id\nc86019\n\n/ # xxd -p /sys/bus/spi/devices/spi0.0/spi-nor/sfdp\n53464450060102ff00060110300000ffc8000103900000ff84000102c000\n00ffffffffffffffffffffffffffffffffffe520f3ffffffff0f44eb086b\n083b42bbfeffffffffff00ffffff44eb0c200f5210d800ffd439a5fe82e4\n1452ec6216337a757a7504bdd55c2906140008500001ffffffffffffffff\nffffffffffffffffffffffffffffffffffffffffffffffff002050169df9\n77648fdbffffffffffffffffffffffffffffffffffffffffffffffffffff\nffffffffffffffffffffffffff0effff215cdcff\n\n/ # sha256sum /sys/bus/spi/devices/spi0.0/spi-nor/sfdp\n9f56d460181f7c0b6cc16a69554e3b587948b5f65323e976d0a4f1dbbcb93d94  /sys/bus/spi/devices/spi0.0/spi-nor/sfdp\n\n/ # cat /sys/kernel/debug/spi-nor/spi0.0/capabilities\nSupported read modes by the flash\n 1S-1S-1S\n  opcode\t0x13\n  mode cycles\t0\n  dummy cycles\t0\n 1S-1S-1S (fast read)\n  opcode\t0x0c\n  mode cycles\t0\n  dummy cycles\t8\n 1S-1S-2S\n  opcode\t0x3c\n  mode cycles\t0\n  dummy cycles\t8\n 1S-2S-2S\n  opcode\t0xbc\n  mode cycles\t2\n  dummy cycles\t2\n 1S-1S-4S\n  opcode\t0x6c\n  mode cycles\t0\n  dummy cycles\t8\n 1S-4S-4S\n  opcode\t0xec\n  mode cycles\t2\n  dummy cycles\t4\n 4S-4S-4S\n  opcode\t0xec\n  mode cycles\t2\n  dummy cycles\t4\n\nSupported page program modes by the flash\n 1S-1S-1S\n  opcode\t0x12\n 1S-1S-4S\n  opcode\t0x34\n\n/ # cat /sys/kernel/debug/spi-nor/spi0.0/params\nname\t\tgd25lq256d\nid\t\tc8 60 19 c8 60 19\nsize\t\t32.0 MiB\nwrite size\t1\npage size\t256\naddress nbytes\t4\nflags\t\tHAS_SR_TB | 4B_OPCODES | HAS_4BAIT | HAS_LOCK | HAS_16BIT_SR | NO_READ_CR | SOFT_RESET\n\nopcodes\n read\t\t0x0c\n  dummy cycles\t8\n erase\t\t0xdc\n program\t0x12\n 8D extension\tnone\n\nprotocols\n read\t\t1S-1S-1S\n write\t\t1S-1S-1S\n register\t1S-1S-1S\n\nerase commands\n 21 (4.00 KiB) [1]\n 5c (32.0 KiB) [2]\n dc (64.0 KiB) [3]\n c7 (32.0 MiB)\n\nsector map\n region (in hex)   | erase mask | overlaid\n ------------------+------------+----------\n 00000000-01ffffff |     [   3] | no\n---\n drivers/mtd/spi-nor/gigadevice.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/mtd/spi-nor/gigadevice.c b/drivers/mtd/spi-nor/gigadevice.c\nindex ef1edd0ad..356a3f196 100644\n--- a/drivers/mtd/spi-nor/gigadevice.c\n+++ b/drivers/mtd/spi-nor/gigadevice.c\n@@ -82,6 +82,12 @@ static const struct flash_info gigadevice_nor_parts[] = {\n \t\t.size = SZ_16M,\n \t\t.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB,\n \t\t.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,\n+\t}, {\n+\t\t.id = SNOR_ID(0xc8, 0x60, 0x19),\n+\t\t.name = \"gd25lq256d\",\n+\t\t.size = SZ_32M,\n+\t\t.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_QUAD_PP,\n+\t\t.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,\n \t},\n };\n \n",
    "prefixes": [
        "RESEND"
    ]
}