From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Qing Wu <ses1er@gmail.com>
Cc: Michal Simek <michal.simek@amd.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] [v2] mtd: spinand: add support for additional Dosilicon models
Date: Wed, 27 May 2026 10:29:33 +0200 [thread overview]
Message-ID: <87zf1ljlw2.fsf@bootlin.com> (raw)
In-Reply-To: <20260520003733.82514-1-ses1er@gmail.com> (Qing Wu's message of "Tue, 19 May 2026 20:37:33 -0400")
Hi Qing,
On 19/05/2026 at 20:37:33 -04, Qing Wu <ses1er@gmail.com> wrote:
Could you please change the title for:
"mtd: spinand: dosilicon: Add support for additional models"
> Add support for additional Dosilicon SPI NAND chips.
>
> Datasheets for chips included in this patch: https://www.dosilicon.com/SPI%20NAND%20Flash.html
>
> Tested on a TP-Link TL-7DR7250 with a Dosilicon DS35Q1GB (0xE5 0xF1)
>
> Link to original v2:
> https://lore.kernel.org/all/20260217221444.11171-1-ses1er@gmail.com/
This link should be below the three '---'.
> Signed-off-by: Qing Wu <ses1er@gmail.com>
> ---
> Changes in v2:
> - Fixed compilation errors.
> - Link to v1: https://lore.kernel.org/all/20260217211427.9120-1-ses1er@gmail.com
> ---
> drivers/mtd/nand/spi/dosilicon.c | 203 +++++++++++++++++++++++++++++--
> 1 file changed, 196 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/mtd/nand/spi/dosilicon.c b/drivers/mtd/nand/spi/dosilicon.c
> index f99899866ceb..6a5100c6bf99 100644
> --- a/drivers/mtd/nand/spi/dosilicon.c
> +++ b/drivers/mtd/nand/spi/dosilicon.c
> @@ -1,6 +1,7 @@
> // SPDX-License-Identifier: GPL-2.0
> /*
> * Author: Ahmed Naseef <naseefkm@gmail.com>
> + * Additions: Qing Wu <ses1er@gmail.com>
There is Git for that, please drop that line.
> +static int ds35xxgb_ooblayout_free(struct mtd_info *mtd, int section,
> + struct mtd_oob_region *region)
> +{
> + if (section)
> + return -ERANGE;
> +
> + /* Reserve 1 bytes for the BBM. */
> + region->offset = 1;
Please reserve 2, that is what we have been doing so far.
Otherwise lgtm. I can take it for the next merge window if you resend
rapidly.
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
prev parent reply other threads:[~2026-05-27 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-20 0:37 [PATCH RESEND] [v2] mtd: spinand: add support for additional Dosilicon models Qing Wu
2026-05-27 8:29 ` Miquel Raynal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zf1ljlw2.fsf@bootlin.com \
--to=miquel.raynal@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=michal.simek@amd.com \
--cc=ses1er@gmail.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox