mirror of https://lore.kernel.org/lkml/
 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: Fri, 27 Nov 2026 13:52:47 +0100	[thread overview]
Message-ID: <87ik1itp0g.fsf@bootlin.com> (raw)
In-Reply-To: <awl2bMa2cqHZWfD-@Fantast-WT.localdomain> (Teng Wu's message of "Fri, 27 Nov 2026 20:24:12 +0800")

Hi Teng,

> I agree that vendor-specific workarounds do not belong in nand_base.c. 
> Adding a dedicated nand_gigadevice.c would be a substantial piece of 
> work and is outside the scope of this effort.I understand if this patch
> is rejected, and I will drop it for now. 
>
> That said, if there is a significant future need to add nand_gigadevice.c,
> we will refer back to the changes in this patch.

You need a nand_manufacturer_ops (4 lines) and implement the above fix
in the init hook after copy-pasting the pattern from another vendor
driver. Then add that file to the Makefile and refer to it in the core's
includes. Honestly not what I would call a "substantial piece of work" :)

Thanks,
Miquèl

      reply	other threads:[~2026-11-27 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:06 Teng Wu
2026-11-24 13:40 ` Miquel Raynal
2026-11-27 12:24   ` Teng Wu
2026-11-27 12:52     ` 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=87ik1itp0g.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

all inboxes | Powered by JetHome®