Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Teng Wu <gigadevice2025@gmail.com>
Cc: linux-mtd@lists.infradead.org,  vigneshr@ti.com,  richard@nod.at,
	linux-kernel@vger.kernel.org,  teng.wu@gigadevice.com,
	weijie.huang@gigadevice.com
Subject: Re: [PATCH] mtd: rawnand: Skip timing mode readback check for GigaDevice NAND
Date: Tue, 24 Nov 2026 14:40:24 +0100	[thread overview]
Message-ID: <87qzgas5yv.fsf@bootlin.com> (raw)
In-Reply-To: <awWLzWDg-m9VBZVr@Fantast-WT.localdomain> (Teng Wu's message of "Tue, 24 Nov 2026 21:06:21 +0800")

Hi,

>  	if (request != tmode_param[0]) {
> +		/*
> +		* GigaDevice raw NAND chips (manufacturer ID 0xC8) support
> +		* the timing modes advertised in their ONFI parameter page.
> +		* Skip the strict ack check; keep it for other vendors.
> +		*/
> +		if (chip->id.data[0] == 0xC8) {
> +			goto update_interface_config;
> +		}
> +

There is a vendor driver, you shall use it rather than polluting the
core with vendor specific fixups. Check what
macronix_nand_fix_broken_get_timings() does for example.

Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

      parent reply	other threads:[~2026-11-24 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:06 [PATCH] mtd: rawnand: Skip timing mode readback check for GigaDevice NAND Teng Wu
2026-11-24 13:17 ` sashiko-bot
2026-11-24 13:40 ` 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=87qzgas5yv.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=gigadevice2025@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=teng.wu@gigadevice.com \
    --cc=vigneshr@ti.com \
    --cc=weijie.huang@gigadevice.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