get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230394,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230394/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260429-winbond-v6-18-rc1-cont-read-v3-11-0f38b3c229ad@bootlin.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260429-winbond-v6-18-rc1-cont-read-v3-11-0f38b3c229ad@bootlin.com>",
    "date": "2026-04-29T17:56:48",
    "name": "[v3,11/11] mtd: spinand: winbond: Add support for continuous reads on W25NxxJW",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a99ff26270fbbb6f75737f810c42e61d08f5e317",
    "submitter": {
        "id": 73368,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/73368/?format=api",
        "name": "Miquel Raynal",
        "email": "miquel.raynal@bootlin.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260429-winbond-v6-18-rc1-cont-read-v3-11-0f38b3c229ad@bootlin.com/mbox/",
    "series": [
        {
            "id": 502120,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502120/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=502120",
            "date": "2026-04-29T17:56:40",
            "name": "mtd: spinand: Winbond continuous read support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/502120/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230394/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230394/checks/",
    "tags": {},
    "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=DhDCovtY;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256\n header.s=desiato.20200630 header.b=PobWXAlP;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=Kc0vRRlq;\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 4g5Q620BBnz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 03:58:50 +1000 (AEST)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wI9BL-000000041PX-0EsB;\n\tWed, 29 Apr 2026 17:58:43 +0000",
            "from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wI9B5-0000000415t-3CFC;\n\tWed, 29 Apr 2026 17:58:27 +0000",
            "from smtpout-02.galae.net ([185.246.84.56])\n\tby desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wI9B1-00000005wOx-0s24;\n\tWed, 29 Apr 2026 17:58:26 +0000",
            "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n\tby smtpout-02.galae.net (Postfix) with ESMTPS id 2177F1A347B;\n\tWed, 29 Apr 2026 17:58:22 +0000 (UTC)",
            "from mail.galae.net (mail.galae.net [212.83.136.155])\n\tby smtpout-01.galae.net (Postfix) with ESMTPS id E99E35FD43;\n\tWed, 29 Apr 2026 17:58:21 +0000 (UTC)",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 6FE631072B176;\n\tWed, 29 Apr 2026 19:58:16 +0200 (CEST)"
        ],
        "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:Cc:To:In-Reply-To:References:Message-Id\n\t:MIME-Version:Subject:Date: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=BZffWl6HRuke7NwEfZivwI5artn8fgifjcd9gZqUhy0=; b=DhDCovtYQ0bOim\n\tRqrJ1wW4VhF+RW1w0wrljYENOQTQ8TxyMbU1QMT6b5kiWwYjh2SsUTQi5u4G4N3qmQS31s1+FDB7A\n\tJoLos4e1i/UICySrPpMFLiN2ah9aMsE2XL8A4FCDJGmgdaPeW31gh69wbT2G5rjSSyIVsf5VPWDP7\n\tjcsa3TSbAZtAqSbkIlq1A+Z8AwIiqcHm13Ws1lvhVBXKBYp5F9XPTlZl6WhEijonSDH5ARBqGbthI\n\t/NyKBJzclxT4b6NmAT0UAwMDG7yXzZPRdBtcdXrZpjMDKQL63P0uGlLfAKp1aYmBFAp9OSFLt4z4z\n\tzfLxtJ20VEMeYupJydzA==;",
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References:\n\tMessage-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:\n\tFrom:Sender:Reply-To:Content-ID:Content-Description;\n\tbh=MmcPFcCFT0gegKw7/GAlAOSTHc6JlaEROIWqR2nOl4k=; b=PobWXAlP6WzE0nrZB/Tpsq1Y+h\n\tSd7hMi2z2qgW4SJxneV5gKjsWoXlBaLhJdlvK3x74sZ3TGxl1lQgblo/QApHa/V2l9ZxGlEoOmCWH\n\troCc8+++SB6JGBkKL3jS8Mp5KKvA2Ptw4HEYtPYOjFCbAFqNVwtbL6CAzdCU+GFnwXCcFtWuPhcO7\n\tOFD6wzqo8hIx+d7GQdV8EGnt2MrO7MQO9JSQQfbKmhEMuaa+dEUKWSBRvjlw7cjjUaFyRaSrPjZpF\n\t+5JXwi3QGSRrdE7V6HhI2Fo0vOfh6DaL5KyB0xvbBC6vsrubHD2uYNaLeuphqSuSBmVDT17eD8jCy\n\tkEroNkBA==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n\tt=1777485500; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n\t content-transfer-encoding:in-reply-to:references;\n\tbh=MmcPFcCFT0gegKw7/GAlAOSTHc6JlaEROIWqR2nOl4k=;\n\tb=Kc0vRRlqvfSudEFr1jF1Gd7LJngYIVk/OpJ9Xy8LuG253NtHk6/h4qCUHyLC/uelRVb4cc\n\t4dtdIBzKI2GiH9nxWVLuBkH0XM6+60TUTV3lPbduunRwVmtsS7NZANu7HdJhAtQLgyg/XC\n\tqfAyvlNfSlYsoOKdexYgZ4wm/bWSodcggsYCwEBKkDHvzztBYmluC6xuKPrOLpX9/h7Qic\n\tpT6L6tnkencqHbZvV4EVzLeBhMxFjsgykFNa9YcAAIpXCmpJMwhvoG1NFc/Ior2L3DtbkU\n\t3DKkjUd9tAEKhfs0hEhZ7womvlhnP/h4dMJsvpfuXnYvpxywIGUMsaSX8ch/9Q=="
        ],
        "From": "Miquel Raynal <miquel.raynal@bootlin.com>",
        "Date": "Wed, 29 Apr 2026 19:56:48 +0200",
        "Subject": "[PATCH v3 11/11] mtd: spinand: winbond: Add support for continuous\n reads on W25NxxJW",
        "MIME-Version": "1.0",
        "Message-Id": "\n <20260429-winbond-v6-18-rc1-cont-read-v3-11-0f38b3c229ad@bootlin.com>",
        "References": "\n <20260429-winbond-v6-18-rc1-cont-read-v3-0-0f38b3c229ad@bootlin.com>",
        "In-Reply-To": "\n <20260429-winbond-v6-18-rc1-cont-read-v3-0-0f38b3c229ad@bootlin.com>",
        "To": "Mark Brown <broonie@kernel.org>, Richard Weinberger <richard@nod.at>,\n  Vignesh Raghavendra <vigneshr@ti.com>, Michael Walle <mwalle@kernel.org>,\n  Miquel Raynal <miquel.raynal@bootlin.com>,\n  Takahiro Kuwano <takahiro.kuwano@infineon.com>,\n  Lorenzo Bianconi <lorenzo@kernel.org>, Ray Liu <ray.liu@airoha.com>,\n  Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>, =?utf-8?q?C=C3=A9dric_Le_Goa?=\n\t=?utf-8?q?ter?= <clg@kaod.org>,  Joel Stanley <joel@jms.id.au>,\n Andrew Jeffery <andrew@codeconstruct.com.au>,\n  Avi Fishman <avifishman70@gmail.com>, Tomer Maimon <tmaimon77@gmail.com>,\n  Tali Perry <tali.perry1@gmail.com>, Patrick Venture <venture@google.com>,\n  Nancy Yuen <yuenn@google.com>, Benjamin Fair <benjaminfair@google.com>,\n  Maxime Coquelin <mcoquelin.stm32@gmail.com>,\n  Alexandre Torgue <alexandre.torgue@foss.st.com>, =?utf-8?q?Jonathan_Neusch?=\n\t=?utf-8?q?=C3=A4fer?= <j.neuschaefer@gmx.net>",
        "Cc": "Pratyush Yadav <pratyush@kernel.org>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Steam Lin <STLin2@winbond.com>, Santhosh Kumar K <s-k6@ti.com>,\n linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,\n linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org,\n linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org,\n linux-stm32@st-md-mailman.stormreply.com",
        "X-Mailer": "b4 0.14.3",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260429_185823_397956_50B9B3D2 ",
        "X-CRM114-Status": "GOOD (  15.69  )",
        "X-Spam-Score": "-0.2 (/)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"desiato.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:  As for the W35NxxJW family, add support for W25N{01,02}JW\n   continuous read support. Similar operations require to be done,\n such as setting\n    a specific bit in a configuration register, and providing a se [...]\n Content analysis details:   (-0.2 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain",
        "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": "As for the W35NxxJW family, add support for W25N{01,02}JW continuous\nread support. Similar operations require to be done, such as setting a\nspecific bit in a configuration register, and providing a set of read\nvariants without the address cycles.\n\nAs read from cache variants are badly supported by SPI memory\ncontrollers, we create a new set of read from cache templates with a\nfake address cycle and just enough dummy cycles. There are two\nunsupported configurations (which would require 4.5 dummy bytes), so we\njust do not provide them.\n\nThe same extra value in the ECC is possible as with the W35NxxJW family,\nso we reference the same helper to retrieve the ECC status.\n\nSigned-off-by: Miquel Raynal <miquel.raynal@bootlin.com>\n---\nAll variants have been validated on a Nuvoton MA35D1 platform.\n---\n drivers/mtd/nand/spi/winbond.c | 108 +++++++++++++++++++++++++++++++++++++----\n 1 file changed, 98 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c\nindex ffbcd25b0366..578f702528ee 100644\n--- a/drivers/mtd/nand/spi/winbond.c\n+++ b/drivers/mtd/nand/spi/winbond.c\n@@ -46,6 +46,62 @@\n \t\t   SPI_MEM_OP_DATA_IN(len, buf, 1),\t\t\t\\\n \t\t   SPI_MEM_OP_MAX_FREQ(freq))\n \n+#define WINBOND_CONT_READ_FROM_CACHE_1S_1D_1D_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0x0d, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_ADDR(2, 0, 1),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DUMMY(ndummy, 1),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DATA_IN(len, buf, 1),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_1S_2S_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0x3b, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_ADDR(1, 0, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_DUMMY(ndummy - 1, 1),\t\t\t\\\n+\t\t   SPI_MEM_OP_DATA_IN(len, buf, 2),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_2S_2S_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0xbb, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_ADDR(1, 0, 2),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_DUMMY(ndummy - 1, 2),\t\t\t\\\n+\t\t   SPI_MEM_OP_DATA_IN(len, buf, 2),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_2D_2D_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0xbd, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_ADDR(1, 0, 2),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DUMMY(ndummy - 1, 2),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DATA_IN(len, buf, 2),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_1S_4S_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0x6b, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_ADDR(1, 0, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_DUMMY(ndummy - 1, 1),\t\t\t\\\n+\t\t   SPI_MEM_OP_DATA_IN(len, buf, 4),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_1D_4D_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0x6d, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_ADDR(1, 0, 1),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DUMMY(ndummy - 1, 1),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DATA_IN(len, buf, 4),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_4S_4S_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0xeb, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_ADDR(1, 0, 4),\t\t\t\t\\\n+\t\t   SPI_MEM_OP_DUMMY(ndummy - 1, 4),\t\t\t\\\n+\t\t   SPI_MEM_OP_DATA_IN(len, buf, 4),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n+#define WINBOND_CONT_READ_FROM_CACHE_1S_4D_4D_OP(ndummy, buf, len, freq) \\\n+\tSPI_MEM_OP(SPI_MEM_OP_CMD(0xed, 1),\t\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_ADDR(1, 0, 4),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DUMMY(ndummy - 1, 4),\t\t\t\\\n+\t\t   SPI_MEM_DTR_OP_DATA_IN(len, buf, 4),\t\t\t\\\n+\t\t   SPI_MEM_OP_MAX_FREQ(freq))\n+\n #define WINBOND_CONT_READ_FROM_CACHE_1S_1S_8S_OP(ndummy, buf, len, freq) \\\n \tSPI_MEM_OP(SPI_MEM_OP_CMD(0x8b, 1),\t\t\t\t\\\n \t\t   SPI_MEM_OP_ADDR(1, 0, 1),\t\t\t\t\\\n@@ -133,6 +189,20 @@ static SPINAND_OP_VARIANTS(read_cache_dual_quad_dtr_variants,\n \t\tSPINAND_PAGE_READ_FROM_CACHE_FAST_1S_1S_1S_OP(0, 1, NULL, 0, 0),\n \t\tSPINAND_PAGE_READ_FROM_CACHE_1S_1S_1S_OP(0, 1, NULL, 0, 54 * HZ_PER_MHZ));\n \n+static SPINAND_OP_VARIANTS(cont_read_cache_dual_quad_dtr_variants,\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_4D_4D_OP(11, NULL, 0, 80 * HZ_PER_MHZ),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_1D_4D_OP(5, NULL, 0, 80 * HZ_PER_MHZ),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_4S_4S_OP(7, NULL, 0, 0),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_4S_4S_OP(6, NULL, 0, 104 * HZ_PER_MHZ),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_1S_4S_OP(4, NULL, 0, 0),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_2D_2D_OP(6, NULL, 0, 80 * HZ_PER_MHZ),\n+\t\t/* The 1S_1D_2D variant would require 4.5 dummy bytes, this is not possible */\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_2S_2S_OP(5, NULL, 0, 0),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_2S_2S_OP(4, NULL, 0, 104 * HZ_PER_MHZ),\n+\t\tWINBOND_CONT_READ_FROM_CACHE_1S_1S_2S_OP(4, NULL, 0, 0),\n+\t\t/* The 1S_1D_1D variant would require 4.5 dummy bytes, this is not possible */\n+\t\tWINBOND_CONT_READ_FROM_CACHE_FAST_1S_1S_1S_OP(4, NULL, 0, 0));\n+\n static SPINAND_OP_VARIANTS(read_cache_variants,\n \t\tSPINAND_PAGE_READ_FROM_CACHE_1S_4S_4S_OP(0, 2, NULL, 0, 0),\n \t\tSPINAND_PAGE_READ_FROM_CACHE_1S_1S_4S_OP(0, 1, NULL, 0, 0),\n@@ -445,11 +515,25 @@ static int w25n0xjw_hs_cfg(struct spinand_device *spinand,\n \tif (iface != SSDR)\n \t\treturn -EOPNOTSUPP;\n \n+\t/*\n+\t * At this stage, we do not yet know the continuous read template, nor\n+\t * if there is going to be one. Let's assume the continuous read\n+\t * template will be selected with the same heuristics as the buffered\n+\t * read variant, as there cannot be a HS configuration mismatch between\n+\t * them.\n+\t */\n \top = spinand->op_templates->read_cache;\n \n \treturn w25n0xjw_set_sr4_hs(spinand, w25n0xjw_op_needs_hs(op));\n }\n \n+static int w25n0xjw_set_cont_read(struct spinand_device *spinand, bool enable)\n+{\n+\tu8 mask = enable ? 0 : WINBOND_CFG_BUF_READ;\n+\n+\treturn spinand_upd_cfg(spinand, WINBOND_CFG_BUF_READ, mask);\n+}\n+\n static int w35n0xjw_write_vcr(struct spinand_device *spinand, u8 reg, u8 val)\n {\n \tstruct spi_mem_op op = SPINAND_OP(spinand, winbond_write_vcr,\n@@ -580,12 +664,14 @@ static const struct spinand_info winbond_spinand_table[] = {\n \t\t     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xbc, 0x21),\n \t\t     NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),\n \t\t     NAND_ECCREQ(1, 512),\n-\t\t     SPINAND_INFO_OP_VARIANTS(&read_cache_dual_quad_dtr_variants,\n-\t\t\t\t\t      &write_cache_variants,\n-\t\t\t\t\t      &update_cache_variants),\n+\t\t     SPINAND_INFO_OP_VARIANTS_WITH_CONT(&read_cache_dual_quad_dtr_variants,\n+\t\t\t\t\t\t\t&write_cache_variants,\n+\t\t\t\t\t\t\t&update_cache_variants,\n+\t\t\t\t\t\t\t&cont_read_cache_dual_quad_dtr_variants),\n \t\t     SPINAND_HAS_QE_BIT,\n-\t\t     SPINAND_ECCINFO(&w25n01jw_ooblayout, NULL),\n-\t\t     SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg)),\n+\t\t     SPINAND_ECCINFO(&w25n01jw_ooblayout, w25w35nxxjw_ecc_get_status),\n+\t\t     SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg),\n+\t\t     SPINAND_CONT_READ(w25n0xjw_set_cont_read)),\n \tSPINAND_INFO(\"W25N01KV\", /* 3.3V */\n \t\t     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xae, 0x21),\n \t\t     NAND_MEMORG(1, 2048, 96, 64, 1024, 20, 1, 1, 1),\n@@ -624,12 +710,14 @@ static const struct spinand_info winbond_spinand_table[] = {\n \t\t     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xbf, 0x22),\n \t\t     NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 2, 1),\n \t\t     NAND_ECCREQ(1, 512),\n-\t\t     SPINAND_INFO_OP_VARIANTS(&read_cache_dual_quad_dtr_variants,\n-\t\t\t\t\t      &write_cache_variants,\n-\t\t\t\t\t      &update_cache_variants),\n+\t\t     SPINAND_INFO_OP_VARIANTS_WITH_CONT(&read_cache_dual_quad_dtr_variants,\n+\t\t\t\t\t\t\t&write_cache_variants,\n+\t\t\t\t\t\t\t&update_cache_variants,\n+\t\t\t\t\t\t\t&cont_read_cache_dual_quad_dtr_variants),\n \t\t     SPINAND_HAS_QE_BIT,\n-\t\t     SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL),\n-\t\t     SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg)),\n+\t\t     SPINAND_ECCINFO(&w25m02gv_ooblayout, w25w35nxxjw_ecc_get_status),\n+\t\t     SPINAND_CONFIGURE_CHIP(w25n0xjw_hs_cfg),\n+\t\t     SPINAND_CONT_READ(w25n0xjw_set_cont_read)),\n \tSPINAND_INFO(\"W25N02KV\", /* 3.3V */\n \t\t     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xaa, 0x22),\n \t\t     NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),\n",
    "prefixes": [
        "v3",
        "11/11"
    ]
}