get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195523,
    "url": "http://patchwork.ozlabs.org/api/patches/2195523/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260211100553.907585-2-linchengming884@gmail.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": "<20260211100553.907585-2-linchengming884@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-11T10:05:51",
    "name": "[v5,1/3] dt-bindings: mtd: spinand: Add randomizer enable/disable properties",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7d52d4ad38570230af42d4b0dc9685fa11594772",
    "submitter": {
        "id": 88631,
        "url": "http://patchwork.ozlabs.org/api/people/88631/?format=api",
        "name": "Cheng Ming Lin",
        "email": "linchengming884@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260211100553.907585-2-linchengming884@gmail.com/mbox/",
    "series": [
        {
            "id": 491809,
            "url": "http://patchwork.ozlabs.org/api/series/491809/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=491809",
            "date": "2026-02-11T10:05:50",
            "name": "mtd: spi-nand: Add support for randomizer feature",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/491809/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195523/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195523/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=wvfOKtrv;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=P7af5L23;\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 4f9vHr4PBFz1xxJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 21:07:36 +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 1vq781-00000000Tas-2LdY;\n\tWed, 11 Feb 2026 10:07:25 +0000",
            "from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vq77w-00000000TZA-2eAC\n\tfor linux-mtd@lists.infradead.org;\n\tWed, 11 Feb 2026 10:07:23 +0000",
            "by mail-pg1-x52a.google.com with SMTP id\n 41be03b00d2f7-c6c444e89bcso692378a12.2\n        for <linux-mtd@lists.infradead.org>;\n Wed, 11 Feb 2026 02:07:20 -0800 (PST)",
            "from twhmp6px (mxsmtp211.mxic.com.tw. [211.75.127.162])\n        by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-3567e9fb4bfsm1632089a91.8.2026.02.11.02.07.18\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 11 Feb 2026 02:07:19 -0800 (PST)",
            "from hqs-appsw-a2o.mp600.macronix.com (unknown [172.17.236.67])\n\tby twhmp6px (Postfix) with ESMTPS id E8D704136074;\n\tWed, 11 Feb 2026 18:07:16 +0800 (CST)"
        ],
        "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:References:In-Reply-To:\n\tMessage-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=6vTiH1zhGpnmZ9cz/QenZS2c7z9DK8UjdQ8k8o7Gh94=; b=wvfOKtrv0/TDNe\n\t5mAzHghimpShJs2szHfiaglYOtvuGaSKAq1uFSzQRJH6PxfdatqIv/TJMuaPWK4foEUBfFSxeVpnB\n\teaycvtoMXksV+siHJJIplfVsKtTWU/Zmisk8syTkWYQSzqrHRYrKzw8p40jkUvHbxMyRwTO8OtOal\n\tqS+Yr1A3rO8Q3ahAHI1t8KAjIYiOclzcTu4rBu6nPC7hCsi0ZapEkQvp61QSWVbmkl6z8davNxQPn\n\t80zbo5DF2ha9XWFni8mYxUBTrmXfnslcFesHsqXCC9Sodfi6jwzbmIeJbh5TBEGI6D1EQbbkUsCTe\n\tF6xH5SGj8PNwqysvWFgw==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20230601; t=1770804439; x=1771409239;\n darn=lists.infradead.org;\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=sn/Y69Rs16zIbCUr1d6TW/gMLK4puZ79zycPXpVzP0A=;\n        b=P7af5L23ms+w+LX79eD9C2D0L24Ly8A2rQTOXxpqiVMxr7RVz4cw0EY58Vf9bb2Sby\n         JC5XgOc3zRoSmAkdkUMwLeluHUpi8UJVjIiVoosjV+Y9NG1JwcNCXxJBr4K1T5Fpr7Kw\n         CzMdUV7oTMI91zka6odSr3aX9cKEqOs+9U7CIWd/aA3IQs9PqbJb3M/bOqkxtjNgG+Rw\n         eqbqzzp5awzIEsBfkLs2qhIhkFhfma3McBMFEnnaS268ZkkJ1mu6hBGpFpADPpwA7MjW\n         FbUhsVJgsJTqszBLKAAxI+jadgA9ixA2QXppfF/ClXuPm4QkvN1YP+Lxu5CwJyQoPSBe\n         3X2Q=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1770804439; x=1771409239;\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=sn/Y69Rs16zIbCUr1d6TW/gMLK4puZ79zycPXpVzP0A=;\n        b=VfzBl0nCPbpwyfxS/0iwGvRsu9YDc5ezeh0fz+Vn8x+RUiw0dmqwYmr1UTUKv/oMrz\n         unnb2dbRS4kb4LGIcaVeFrOYMz3ERmk30axgLpICv/LCkQM3xCbBnj7jF57XEOKL4pfY\n         xCYRTWax69pilOTCGUQsr54ZFs1VDBn4I/qdlXyZUsOFSqCViBX3n9b4Rkf/p8m0/XVW\n         Gv+xvQNe5sHXqpOqayCGIpLWYELbFd1G8d9ECEi4uipgChi5YegER5YfwQNlBHdEvccN\n         cdr4Sx1HREy3Ob3UInek0HsXGSedaHloNARBDaIcNYWPCOQ8P7vMKGa7YuubKQQDFLe9\n         xhCg==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCUAXEigYZQI827E0DW4CCKfn2vUiSXXflFCUuFamqOCrAy/XH1pouRc4Ncnuoz27CE3Q+WLDFVUPj8=@lists.infradead.org",
        "X-Gm-Message-State": "AOJu0YxxaYxGAzgEMqlIEFtTIQmLIJbnQYsE5akxryCqadvbFc+aFbEz\n\tS0pg2XF5RwauHSn5qEiprtG0pzsKMNWPM1a9mIixYz7Qcdfd0s1aL/yK",
        "X-Gm-Gg": "AZuq6aKiGHrDfezOTDiG1pKdqYn+E65Mh2QijTYn9lyMBJHy4G+J3cM10K8glcZJXkT\n\tXSErkiLtmhFYQnInT4ihU61/zEW+Ly2sKMDPPgIMg/gl/Uv7ksW0twCwTLk9ldgun+sOvH4fiKf\n\tzF/41qaku9cDwgXM1RW9dykQ78e/LBHuDmEBYqPkjI6kEt76xc8CJ3dgs6KltciQJTlGTS5oFcN\n\ti1V//E0hROpD1fEsUUC4dvn7ChokHSkmnaHtGbBizF4RE4D/1t6aEiJKRt/tTNbxplXjRRJzrov\n\t2anYzzPLNQQIw9PSoWOMDmS07qPKUh9d+eQ+qZ1zG86MKusvznH4qt4IOGVP8rudhxB3FlZx8IX\n\t3xzOYRky/WZ+BoZo3k6uZMxKvVNxe7skNHnP3pWplJUuib4ESaHLgnjb4+6aJjlmXMkcv0DVkZ1\n\t8vHZlZHaTVD+goC0+d3mknaf7BDAXDWnmvYenXh/RU+v03pQ==",
        "X-Received": "by 2002:a17:90b:4a08:b0:354:b2f6:b4e4 with SMTP id\n 98e67ed59e1d1-354b39da597mr13513502a91.0.1770804439383;\n        Wed, 11 Feb 2026 02:07:19 -0800 (PST)",
        "From": "Cheng Ming Lin <linchengming884@gmail.com>",
        "To": "Miquel Raynal <miquel.raynal@bootlin.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tVignesh Raghavendra <vigneshr@ti.com>,\n\tRob Herring <robh@kernel.org>,\n\tKrzysztof Kozlowski <krzk+dt@kernel.org>,\n\tConor Dooley <conor+dt@kernel.org>",
        "Cc": "Tudor Ambarus <tudor.ambarus@linaro.org>,\n\tMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n\tPablo Martin-Gomez <pmartin-gomez@freebox.fr>,\n\tTianling Shen <cnsztl@gmail.com>,\n\tPratyush Yadav <pratyush@kernel.org>,\n\tlinux-mtd@lists.infradead.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\talvinzhou@mxic.com.tw,\n\tCheng Ming Lin <chengminglin@mxic.com.tw>",
        "Subject": "[PATCH v5 1/3] dt-bindings: mtd: spinand: Add randomizer\n enable/disable properties",
        "Date": "Wed, 11 Feb 2026 18:05:51 +0800",
        "Message-Id": "<20260211100553.907585-2-linchengming884@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20260211100553.907585-1-linchengming884@gmail.com>",
        "References": "<20260211100553.907585-1-linchengming884@gmail.com>",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260211_020720_678236_A8ECC849 ",
        "X-CRM114-Status": "UNSURE (   9.87  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-1.8 (-)",
        "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:  From: Cheng Ming Lin Add \"nand-randomizer-enable\" and\n \"nand-randomizer-disable\"\n    boolean properties. These properties allow enabling or disabling the\n randomizer\n    feature via the device tree.\n Content analysis details:   (-1.8 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:52a 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_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\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 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail\n provider\n                             [linchengming884(at)gmail.com]\n  0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in\n                             digit\n                             [linchengming884(at)gmail.com]",
        "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": "From: Cheng Ming Lin <chengminglin@mxic.com.tw>\n\nAdd \"nand-randomizer-enable\" and \"nand-randomizer-disable\" boolean\nproperties.\n\nThese properties allow enabling or disabling the randomizer feature\nvia the device tree.\n\nAccording to JEDEC standard JESD22-A117E, no single data pattern\nrepresents a universal worst-case for all NAND flash failure mechanisms.\nDifferent patterns, such as fully programmed, checkerboard, or mostly\nerased, can disproportionately stress specific cells (e.g., programmed,\nerased, or those influenced by adjacent states).\n\nGiven that no fixed pattern can cover all scenarios, the use of a\nrandomized data pattern is a practical and effective mitigation strategy.\nOur hardware implements a randomizer feature that scrambles user data\nbefore it is written to the flash and restores the original data upon read.\n\nThis ensures the data stored on the media is more evenly distributed,\nthus reducing pattern-dependent degradation. This is especially crucial\nfor preventing errors caused by unbalanced data (e.g., all zeros or\nall ones) in blocks with high program/erase (P/E) cycle counts.\nUltimately, the randomizer improves the long-term reliability and\nendurance of the flash device.\n\nPlease refer to the following link for randomizer feature:\nLink: https://www.mxic.com.tw/Lists/ApplicationNote/Attachments/2151/AN1051V1-The%20Introduction%20of%20Randomizer%20Feature%20on%20MX30xFxG28AD_MX35xFxG24AD.\n\nSigned-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw>\n---\n Documentation/devicetree/bindings/mtd/nand-chip.yaml | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/Documentation/devicetree/bindings/mtd/nand-chip.yaml b/Documentation/devicetree/bindings/mtd/nand-chip.yaml\nindex 609d4a4ddd80..2fcbc4b73e95 100644\n--- a/Documentation/devicetree/bindings/mtd/nand-chip.yaml\n+++ b/Documentation/devicetree/bindings/mtd/nand-chip.yaml\n@@ -67,6 +67,14 @@ properties:\n       the secure regions present.\n     $ref: /schemas/types.yaml#/definitions/uint64-matrix\n \n+  nand-randomizer-enable:\n+    description: Enable the randomizer feature.\n+    type: boolean\n+\n+  nand-randomizer-disable:\n+    description: Disable the randomizer feature.\n+    type: boolean\n+\n required:\n   - reg\n \n",
    "prefixes": [
        "v5",
        "1/3"
    ]
}